Private GIT

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

Correct regex

parent 101f5c3a
Branches
Tags
No related merge requests found
......@@ -99,7 +99,7 @@ class LibertaliaProvider(generic.TorrentProvider):
with BS4Parser(data, features=["html5lib", "permissive"]) as html:
resultsTable = html.find("table", {"class" : "torrent_table"})
if resultsTable:
rows = resultsTable.findAll("tr", {"class" : re.compile("torrent_row(.*)?")})
rows = resultsTable.findAll("tr", {"class" : re.compile("torrent_row.*")})
for row in rows:
# 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