Private GIT

Skip to content
Snippets Groups Projects
Commit 5251b0f4 authored by adaur's avatar adaur
Browse files

Correct regex

parent 101f5c3a
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ class LibertaliaProvider(generic.TorrentProvider): ...@@ -99,7 +99,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" : re.compile("torrent_row(.*)?")}) 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