Skip to content

Commit

Permalink
Let beautifulsoup do text decoding instead of requests in html plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gazpachoking committed Oct 13, 2014
1 parent 734c11c commit efaa2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flexget/plugins/input/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _request_url(self, task, config, url, auth, dump_name=None):
log.verbose('Requesting: %s' % url)
page = task.requests.get(url, auth=auth)
log.verbose('Response: %s (%s)' % (page.status_code, page.reason))
soup = get_soup(page.text)
soup = get_soup(page.content)

# dump received content into a file
if dump_name:
Expand Down

0 comments on commit efaa2cd

Please sign in to comment.