Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
xdcc-dl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
namibsun
python
xdcc-dl
Commits
d12ff0e2
Commit
d12ff0e2
authored
3 years ago
by
Hermann Krumrey
Browse files
Options
Downloads
Patches
Plain Diff
Fix nibl search engine when getting 0 search results
parent
4002a32d
Branches
develop
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+2
-0
2 additions, 0 deletions
CHANGELOG
version
+1
-1
1 addition, 1 deletion
version
xdcc_dl/pack_search/procedures/nibl.py
+4
-0
4 additions, 0 deletions
xdcc_dl/pack_search/procedures/nibl.py
with
7 additions
and
1 deletion
CHANGELOG
+
2
−
0
View file @
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
...
...
This diff is collapsed.
Click to expand it.
version
+
1
−
1
View file @
d12ff0e2
5.2.0
\ No newline at end of file
5.2.1
\ No newline at end of file
This diff is collapsed.
Click to expand it.
xdcc_dl/pack_search/procedures/nibl.py
+
4
−
0
View file @
d12ff0e2
...
...
@@ -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
=
[
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment