Like Ra's Naughty Forum

Full Version: Python script to download from erotic-hypnosis.com
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It looks like the server at erotic-hypnosis.com is rate limiting downloading to 3 MB / minute, in 3 MB bursts.
If you have a very slow connection it's fine but if you have a fast connection your browser will download 3 MB and then timeout, marking the download as failed.

I made a python script that would log into the website and download the file.
You'll need to edit the script and add username, password and download url.
For the download url, you have to log in to the site, go to the downloads page, right click on the download button and copy the link.

{diceroller-code}
If you don't have beautifulsoup and requests installed :
{diceroller-code}
Wouldn't wget do the trick?
(08 Apr 2023, 23:24 )Like Ra Wrote: [ -> ]Wouldn't wget do the trick?

Nope. I aeady tried.
Also tried feeding wget the cookies, no joy.
I tried limiting the bandwidth available to firefox, no joy.
I tried setting the connection timeout to a few minutes in firefox config, no joy.
I tried all kinds of tricks.
I was about to recompile firefox to never mark a download as failed but then had the idea of just doing a python script.
(09 Apr 2023, 21:04 )cinon Wrote: [ -> ]I was about to recompile firefox to never mark a download as failed
Oh! That's ... far!

(09 Apr 2023, 21:04 )cinon Wrote: [ -> ]Also tried feeding wget the cookies, no joy.
Usually, "--continue" works in such cases.
(09 Apr 2023, 22:17 )Like Ra Wrote: [ -> ]
(09 Apr 2023, 21:04 )cinon Wrote: [ -> ]I was about to recompile firefox to never mark a download as failed
Oh! That's ... far!

(09 Apr 2023, 21:04 )cinon Wrote: [ -> ]Also tried feeding wget the cookies, no joy.
Usually, "--continue" works in such cases.

Tried that as well.