Tools Cyberdrop-DL: Mass Downloader for most forum sites and SimpCity threads

Jules--Winnfield

Cyberdrop-DL Creator
Mar 11, 2022
2,182
5,124
1,127
0fya082315al84db03fa9bf467e3.png
I'll probably do written updates every few days as to the progress I'm making on the rewrite. You can follow along more closely
Please, Log in or Register to see links and images
.

I'm about 5.5 hours in, actual development time so far, I've got a time log going for myself as I'm curious how long it will take.

So far, I've re-written majority of Cyberdrop-DL's director, telling the program what portions to work on (argument gathering, scraping, downloading, checking for completeness, ... sorting (not written yet)... I've rewritten the structure of the SQL database that will keep track of already completed downloads, however I'm changing it to keep track of what is scraped, as well as building the coomer db to reduce hits to the website and lower ratelimit hits. I'm unsure yet on whether or not I'll be able to effectively migrate over the old DB, but I will worry about that after everything else is finished.

The SQL rewrites so far will both slow down and speed up scraping (as well as having the option to ignore said history). It will catalogue what has been scraped and whether it was completed or not, Scraping an album again will first check whether or not it has a history, it will use the history to selectively scrape links from the album, or skip scraping the album entirely if everything was completed. (this will also make finishing .part files a heck of a lot easier).

The config file has also been re-written to include more options, as well as being sectioned more appropriately. Old configs won't work, but that's not that big of an issue. The old one will be purged and the new one will be in it's place. The config is also loaded before logging starts, which means all files can be relocated using the config (and the config itself can be specified with command line argument).

I've decided to change Unsupported_URLs into a CSV of two columns, referrer and the actual link itself. I'm not sure how feasible that is, but I'll play around with it and see.

I'm just wrapping up the internal dataclass restructuring, and from here I can go on to rewrite the scraping and continue down the rest of the program.

Needless to say, there is a long way to go. It is a long way off, but before I push it to release, I will be trying to gather beta testers to test it out and put it through the ringer. There's a lot the program does, and it'd be difficult for me to test it all by myself... Plus it seems like it's you all who seem to find a way to break things more than myself.
 

ausugnd

Dark Lord of the Simps
Aug 28, 2022
248
3,844
1,312
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Also, because Jules doesn't say it himself and I'm a big believer of giving thanks where thanks is due, there is a "Buy me a Coffee" link on his GitHub page.
So if it's in thanks for the app, the constant and ongoing support/answers, or just to ply him with caffeine to speed him up for the production of V4, go have a look.

Please, Log in or Register to view spoilers
 

vinnie12

Casual
Apr 11, 2022
4
30
225
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes

thank you for this tip, the new windows terminal is so snazzy.

for windows 10, microsoft seems to have removed the ability to set it as the default terminal application (easily, anyway). so I did some searching on the web and came across this tip to set it as default, and it works for me.

after installing windows terminal through the microsoft app store,

Code:
Please, Log in or Register to view codes content!

this makes double clicking the .bat open in a terminal window, and all flickering is gone.
 

Jules--Winnfield

Cyberdrop-DL Creator
Mar 11, 2022
2,182
5,124
1,127
0fya082315al84db03fa9bf467e3.png
Seems like people are unhappy

Pulp Fiction Burger GIF
 

axej

(◕‿◕✿) STYLE (◠‿◠)✌ START (◠‿◠✿)PORNHOARD
Mar 11, 2022
276
3,705
1,299
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
idk if Jules--Winnfield wants to integrate part of this into his first post

i hope you have lots of storage and are familiar with all the arguments you usually use in both. (you'll at least need to be familiar with output templates and --archive for yt-dlp. you can also use the config file for yt-dlp if you've got a global naming and setting scheme. the arguments for cyberdrop-dl are easy cus there aren't that many.)

might as well steer you towards "open with" since it's python and you gotta have that installed if you're here. the other one is done in nodejs or something.

firstly, path.

you need cyberdrop-dl, ffmpeg, and yt-dlp on path. yt-dlp can be installed on pip, or you can use the exe. just that wherever the exe is it needs to be in path. ffmpeg afaik can't be done via pip so you need to add the bin and the dependency folders to path manually.

quick check, pull up cmd in any directory and run the three separately. commands all recognized? good to go.

secondly, the extension/s

Please, Log in or Register to see links and images

install it to your browser

follow the instructions in the addon options page to install the helper python program
https://i.imgur was here once, but it's now gone/JS7M0hY.png

third, prep your command

for both, the default behaviour will make it so that it starts life anew in wherever you installed the helper program. all your shit will get dumped in that directory. if that's fine with you, you're done. same with if you already have your yt-dlp config file set up. your command is just cyberdrop-dl and yt-dlp. that's it.

for cyberdrop-dl
to use your regular dl directory, use the -o ,--log-file, --SimpCity-username, --SimpCity-password, and --db-file arguments. SimpCity creds cus you never know if you wanna do a thread on a whim or not, i guess.

ex: cyberdrop-dl -o "D:\tiddies" --log-file "D:\tiddies program\log.log" --SimpCity-username "axej" --SimpCity-password "hunter2" --db-file "D:\tiddies progarm\history.db"

don't use -i for cyberdrop-dl. if you're doin any of the other arguments like threads or whatever, call them as well.

for yt-dlp

same idea with yt-dlp. build your command. only that you need forward slashes instead of back slashes

i suggest using -i to make it ignore errors.

reference for -o argument
Please, Log in or Register to see links and images


this isn't a batch file, so no need to escape %'s.

tons of yt-dlp arguments, you can call pretty much any and all of them. except the batch file one.

fourth, add to open with

in options, click add browser
paste in your command and give it a name
a populated addon looks something like this:

screenshot_20210830.png


now you're ready.
right click any link and open with
Screenshot_Open-With_menu_20210823_.png


i know yt-dlp won't take multiple links this way, i have not tested multiple links with cyberdrop-dl.

yt-dlp will do multiple instances though. not sure about cyberdrop-dl.

you can likely do it with the other extension though, or if you have a callable program that writes the clipboard to a text file.

just have the command reference that text file as the batch input file and away you go

giphy.gif
 

Jules--Winnfield

Cyberdrop-DL Creator
Mar 11, 2022
2,182
5,124
1,127
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
Essentially? You can think of DDOS-Guard as a bouncer at a club. Do too many things wrong, don't have ID, etc, you get kicked out, or not let through the door at all.

The more people trying to get into the club, the stricter the bouncer will be.
 

beedepraved

Bathwater Drinker
Jan 15, 2022
38
1,226
1,239
0fya082315al84db03fa9bf467e3.png
I don't know if this will help anyone having my issue, but after 2 reinstalls of python with path selected I was still receiving cyberdrop-dl not recognized error. So I ran python -m pip list -v , in cmd to see where cyperdrop was like was mentioned a few pages back. Then I went to AppData\Roaming\Python\Python310\site-packages and I removed the 2 cyperdrop folders that were in there. I then opened cmd and ran pip3 install cyberdrop-dl. Now the scraper works for me.
 

Jules--Winnfield

Cyberdrop-DL Creator
Mar 11, 2022
2,182
5,124
1,127
0fya082315al84db03fa9bf467e3.png
*IMPORTANT*

I had to change the DB structure because of bugs that were impossible to fix bugging the shit out of me. There were so many bugs and the code was getting extremely complicated.

What this means:
The old history is wiped. It is also no longer based off file size. If you have downloads in the download folder and run the program again, it *should* rebuild history.

What this means going forward:

Checking for things that have already downloaded is going to be a hell of a lot faster and should be bug free. Should being key word.

Apologize Sorry Not Sorry GIF
 
Last edited:

Jules--Winnfield

Cyberdrop-DL Creator
Mar 11, 2022
2,182
5,124
1,127
0fya082315al84db03fa9bf467e3.png
Please, Log in or Register to view quotes
If you open a github feature request for it I'll look into it.
Please, Log in or Register to view quotes
Vacation was fabulous. It seems I've come back to a ton of work though, both at work and with this.

Bunkr not working right now is a result of a change on their end, when you first open a page you will see "loading..." in the top left corner before the archive actually loads in. That's all the program is seeing currently.

Current to do list stands:
- Change how the program looks for .part files on completion to be more accurate
- Implement support for saint.to
- Rewrite Bunkr (unsure if I will wait for the update or not).
- Figuring out this ghost freezing issue that happens with some archives it seems.

Unfortunately this will come sporadically as I need to prioritize the deadline I have for my actual job. But I'll get going on it all soon.
 

Jules--Winnfield

Cyberdrop-DL Creator
Mar 11, 2022
2,182
5,124
1,127
0fya082315al84db03fa9bf467e3.png
4.2.182 changes from XF_Session to XF_User.

This means you'll need to grab the different cookie to pop into Cyberdrop-DL and the old cli arg --simpcity-xf-session-cookie has become --simpcity-xf-user-cookie

This cookie should last ~ a year, and shouldn't be as temperamental.