You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] Did you search for existing issues in Issues?
Description
If --bcl is passed as an argument instead as from interactive mode, it isn't parsed as an integer properly a TypeError further down the line
Steps to Reproduce
Run PixivUtil2.py in tags.txt mode with --bcl (example python /home/ensu/.local/share/PixivUtil2/PixivUtil2.py -s 7 --bcl=1000)
Expected behavior: Download images from pixiv with bookmark count configured
Actual behavior: Crash
Log file: snipped to the specific issue
python[40400]: url = PixivHelper.generate_search_tag_url(tags,
python[40400]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
python[40400]: File "/home/ensu/.local/share/PixivUtil2/PixivHelper.py", line 938, in generate_search_tag_url
python[40400]: if blt is not None and blt > 0:
python[40400]: ^^^^^^^
python[40400]: TypeError: '>' not supported between instances of 'str' and 'int'
python[40400]: Unknown Error, please check the log file: (<class 'TypeError'>, TypeError("'>' not supported between instances of 'str' and 'int'"), <traceback object at 0x73fed4fa57c0>)
Versions
PixivDownloader2 version 20230105
The text was updated successfully, but these errors were encountered:
nicodoggie
added a commit
to nicodoggie/PixivUtil2
that referenced
this issue
Feb 28, 2024
Prerequisites
Description
If --bcl is passed as an argument instead as from interactive mode, it isn't parsed as an integer properly a TypeError further down the line
Steps to Reproduce
--bcl
(examplepython /home/ensu/.local/share/PixivUtil2/PixivUtil2.py -s 7 --bcl=1000
)Expected behavior: Download images from pixiv with bookmark count configured
Actual behavior: Crash
Log file: snipped to the specific issue
Versions
PixivDownloader2 version 20230105
The text was updated successfully, but these errors were encountered: