Private GIT

Skip to content
Snippets Groups Projects
Commit db1bdc9e authored by miigotu's avatar miigotu
Browse files

Merge pull request #689 from p0psicles/FixDanishbitsSearching

Fixed beautifullsoup parsing of Danishbits search response
parents b5fd7fd5 7568f45a
No related branches found
No related tags found
No related merge requests found
...@@ -129,7 +129,7 @@ class DanishbitsProvider(TorrentProvider): # pylint: disable=too-many-instance- ...@@ -129,7 +129,7 @@ class DanishbitsProvider(TorrentProvider): # pylint: disable=too-many-instance-
continue continue
try: try:
with BS4Parser(data.decode('iso-8859-1'), features=["html5lib", "permissive"]) as html: with BS4Parser(data,"html5lib") as html:
# Collecting entries # Collecting entries
entries = html.find_all('tr', attrs={'class': 'torrent'}) entries = html.find_all('tr', attrs={'class': 'torrent'})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment