Package: jigoku
Bulk downloader for booru imageboards with evil intentionsJigoku is a CLI tool for downloading content around the imageboards, seamlessly integrates with popular website like danbooru, rule34, gelbooru, and many more. It's also modular, no matter what kind of links you have, what kind imageboard you want to download from, If still covered by the flow, this tools will adapt.🚀 Usage•Testing Cases•Documentation•Report IssuesJigokuThe problemThe solutionFeaturesSite supportInstallationPrerequisitesUsageRunning testsPhrasesLimitationsPronunciationLegalThe ProblemOpening fuckton of tabs, and download them one by one. Piece of crapWelp, It's not tough actually if still same website, there is also tampermonkey hacks to mock them, but what if you want to get 'em from multiple websites?The SolutionNo more tampermonkey hacks, no more opening a fuckton of tabs, no more spliting your note between danbooru, gelbooru, r34 or anything else. Just one command through single file, this tools will adapt.Jigoku apply connection retry on failed, every your network changes or something else, It will keep waiting.FeaturesModular bulk download90% testedPlenty of booru supportConnection retry on failurePure scraping, does not hit the APIDownload with easeInteractive promptMultithreadedtoo nasty, low coverageSite supportJigoku supports the following imageboards:rule34danboorugelboorusafeboorutbibxboorurealbooruyandereloliboorukonachankonachan.nethypnohube621e926allthefallenpahealPrerequisitesNOTE:Python 3.7 or aboveInstallationIt's fairly simple to use jigokupip install jigokuOr manual build by cloning this repository and runpython setup.py installUsageJust run without any arguments and interactive prompt will get you,$ jigokuFirst prompt will ask you to input your fileInput your file.txtSecond prompt will ask you what kind of links you have(1)multiple posts or galleries(2)multiple pagesThird prompt will ask you for image resolution(1)original, means the original, big size(2)sample, means smaller than originalRunning testsIs current state not covers enough? Feel free to add more test cases and submit a pull request.Multiple posts test:workflows/jigoku_posts.ymlMultiple pages test:workflows/jigoku_pages.ymlExample file input:jigoku/tree/master/testPhrasesThis pattern used for validatingpostsorgalleries/posts/danbooru based,&id=gelbooru based,?id=gelbooru based,/showyandere based,/post/view/paheal basedOtherwise, it will assign topagesFor example, If you confused between(1)and(2), check this out:https://danbooru.donmai.us/posts/5874589https://rule34.xxx/index.php?page=post&s=view&id=7004047This is post, choose(1)https://danbooru.donmai.us/posts?tags=1girl&z=1https://rule34.xxx/index.php?page=post&s=list&tags=1girlThis is pages, choose(2)https://danbooru.donmai.us/posts?tags=kiryuuin_satsuki+&z=5https://rule34.xxx/index.php?page=post&s=list&tags=kiryuuin_satsukiThis is pages from tags, choose(2)https://danbooru.donmai.us/posts?page=2&tags=kiryuuin_satsuki+https://rule34.xxx/index.php?page=post&s=list&tags=kiryuuin_satsuki&pid=42This is pages from tags with page number, choose(2)https://danbooru.donmai.us/posts?tags=hews+&z=5https://rule34.xxx/index.php?page=post&s=list&tags=belkoThis is pages from artist, choose(2)LimitationsYou may notice that some part were strictly to "Original" resolution and "Sample" is no use, I'm pretty sure there are some limitations, for example old posts perhaps has different structures, but I haven't found any yet, current test cases has over 1000+ posts and took 20+ minutes, and it works fine.LegalThis tool can be freely copied, modified, altered, distributed without any attribution whatsoever. However, if you feel
like this tool deserves an attribution, mention it. It won't hurt anybody.Licence: WTF.Pronunciationja_JP•jigoku— 地獄、じごく, meaning "hell". The other mean if you opening fuckton of rule34 tabs on browser, definitely hell and piece of crap