Private GIT

Skip to content
Snippets Groups Projects
Commit 667933d6 authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Match all torrent_row classes on libertalia, not just new

parent 13525572
Branches
Tags
No related merge requests found
...@@ -102,8 +102,7 @@ class LibertaliaProvider(generic.TorrentProvider): ...@@ -102,8 +102,7 @@ class LibertaliaProvider(generic.TorrentProvider):
with BS4Parser(data, features=["html5lib", "permissive"]) as html: with BS4Parser(data, features=["html5lib", "permissive"]) as html:
resultsTable = html.find("table", {"class" : "torrent_table"}) resultsTable = html.find("table", {"class" : "torrent_table"})
if resultsTable: if resultsTable:
rows = resultsTable.findAll("tr", {"class" : "torrent_row new "}) # torrent_row new rows = resultsTable.findAll("tr", {"class" : re.compile("torrent_row(.*)?")})
for row in rows: for row in rows:
#bypass first row because title only #bypass first row because title only
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment