Skip to content
Snippets Groups Projects
Commit d12ff0e2 authored by Hermann Krumrey's avatar Hermann Krumrey
Browse files

Fix nibl search engine when getting 0 search results

parent 4002a32d
Branches develop
No related tags found
No related merge requests found
V 5.2.1:
- Fixed nibl search engine with 0 search results
V 5.2.0:
- Made XDCC Client slightly more reliable
- Fixed nibl search engine
......
5.2.0
\ No newline at end of file
5.2.1
\ No newline at end of file
......@@ -38,6 +38,10 @@ def find_nibl_packs(search_phrase: str) -> List[XDCCPack]:
content = BeautifulSoup(html, "html.parser")
rows = content.find_all("tr")
if len(rows) == 0:
return []
header = rows.pop(0)
keys = [x.text for x in header.find_all("th")]
results = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment