AlphaSlayer1964 / kemono-dl

A simple kemono.party downloader using python.
503 stars 81 forks source link

--skip-filetypes only works for the first one extension #20

Closed CODE-LA-LI-LU-LE-LO closed 2 years ago

CODE-LA-LI-LU-LE-LO commented 2 years ago
python kemono-dl.py --cookies "cookie.txt" --ignore-errors --force-indexing --skip-filetypes pdf,zip --max-filesize 10MB --links https://kemono.party/fanbox/user/49906039/post/2719599
Downloading post: 【催眠家族】拒みながらも身体は正直な反応をしちゃう陽子ママ【シリーズ】(1000円以上プランver.)一括ダウンロード用
service: [fanbox] user_id: [49906039] post_id: [2719599]
Downloading attachments.
[Downloading] [01]_マスクあり.zip
File size out of range: 135834682 bytes
[Downloading] [02]_マスク無し.zip
File size out of range: 135935438 bytes
[Downloading] [03]_パイパン差分.zip
File size out of range: 135752971 bytes
[Downloading] [04]_全裸差分.zip
File size out of range: 134096776 bytes
[Downloading] [05]_全裸・パイパン差分.zip
File size out of range: 133904558 bytes
[Downloading] [06]_文字なし.zip
File size out of range: 108659251 bytes
[Downloading] [07]_全裸・文字なし.zip
File size out of range: 106535724 bytes
Skiping "[08]_マスクあり.pdf"
Skiping "[09]_マスク無し.pdf"
Skiping "[10]_パイパン差分.pdf"
Skiping "[11]_全裸差分.pdf"
Skiping "[12]_全裸・パイパン差分.pdf"
Skiping "[13]_文字なし.pdf"
Skiping "[14]_全裸・文字なし.pdf"
[Downloading] [15]_001-007.zip
File size out of range: 255815399 bytes
[Downloading] [16]_008-010.zip
File size out of range: 245262433 bytes
[Downloading] [17]_011-015.zip
File size out of range: 269296766 bytes
Downloading post file.
[Downloading] 73e5fe97-9720-43aa-8b9f-80476a15a5f4.jpg
[==================================================] 0.2/0.2 MB, 0.3 MB/s
Saving content to content.html
Downloading inline images.
Saving comments to comments.html
Completed downloading post: 【催眠家族】拒みながらも身体は正直な反応をしちゃう陽子ママ【シリーズ】(1000円以上プランver.)一括ダウンロード用
----------------------------------------------------------------------------------------------------
Done.

example post service: fanbox user: 49906039 post: 2719599

I used --max-filesize 10MB for fast logging.

AlphaSlayer1964 commented 2 years ago

Yes I see the problem. I think I broke it when segmenting the code and set some default argument value and didn't update the function. I will upload a fix now.

AlphaSlayer1964 commented 2 years ago

This release should fix the issue https://github.com/AplhaSlayer1964/kemono-dl/releases/tag/2021.10.28.2