Commit 0bd4188a authored by Hermann Krumrey's avatar Hermann Krumrey
Browse files

Merge branch 'develop' into 'master'

Fix nibl search engine when getting 0 search results

See merge request namibsun/python/xdcc-dl!9
parents aef8a358 d12ff0e2
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 = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment