test
This commit is contained in:
parent
2b714411c7
commit
ec579b51f9
@ -20,7 +20,7 @@ def upper(bot, trigger, comrun):
|
|||||||
def fetch_string():
|
def fetch_string():
|
||||||
content_url = 'http://developerexcuses.com'
|
content_url = 'http://developerexcuses.com'
|
||||||
content_page = requests.get(content_url, headers={'Accept': 'text/plain'})
|
content_page = requests.get(content_url, headers={'Accept': 'text/plain'})
|
||||||
fetched_str = content_page.text
|
fetched_str = content_page.content
|
||||||
return fetched_str
|
return fetched_str
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user