elvis972602 / Kemono-scraper

A simple downloader to download media from kemono.party
MIT License
193 stars 12 forks source link

Bug: The rar file is wrongly downloaded as a file in .bin format #22

Closed MVPAIR closed 1 year ago

MVPAIR commented 1 year ago

The same thing also happens when download .ini file, and .zipmod file is downloaded as a .zi.zip file

elvis972602 commented 1 year ago

Could you provide the download URL and configuration?

MVPAIR commented 1 year ago

.zipmod : https://kemono.party/patreon/user/82206231/post/83551779 .ini : https://kemono.party/patreon/user/88511381/post/83610295 .rar : https://kemono.party/patreon/user/79167578/post/86162232 you can use these link to test, but i think this scraper just convert all unrecognized file formats to .bin files, so there must be problems with files other than these formats

MVPAIR commented 1 year ago

https://github.com/Kochisa/kemono-dl This guy has solved this problem in python, but I like your software better, because your software has a better naming and indexing function for different formats of files when downloading them.

elvis972602 commented 1 year ago

This seems to be caused by different URLs and file name extensions. For example in url is xxxx.zip but filename is xxxx.zipmod, however i can't download the rar file from the link you provided, the URL leads to a website not a file.

MVPAIR commented 1 year ago

Oh, mb, sry to give u a wrong link, this one is beter: https://kemono.party/patreon/user/82323102/post/81568216 this post contains a .blend file and a .rar file, both are downloaded in .bin files