Like Ra in latex catsuit, latex mask and high heels
Like Ra's Naughty Playground

shiny pantyhose
Sexy Summer Shiny Tights Women Pantyhose Glitter Stockings Feamle Girls Glossy Lady Charming Thin Tights Stocking Lolita 2022
$18.32

Leosoxs lingerie
Underwear 3XL Plus Size Sexy Lace Bralette Solid Cross Side Buckle Bra Brassiere Wireless Push Up Bras for Women Lingerie S.
$53.49

leohex
LEOHEX Sports Transparent Joggers Women's Yoga Pants High Waist Jogging High Quality Tights Soft Fitness Squat Proof Leggings
$65.99

doll kigurumi
Fursuit Kigurumi Headsets Furry Costumes Cosplay Furries Rubbit Doll Cat Comiket Furries Doll Costumes Animal
$3901.38-50%

crossdress cosplay female
Women's Halloween Costumes Christmas Bodysuit 3D Printed Onesie Sexy Lingerie Female Spider Superhero Sexy Cosplay Costume
$31.24

darlingaga
Darlingaga Fashion Skinny Stripe Low Waist Summer Shorts Female Chic Streetwear Hotpants Club Party Short Bottoms Outfits Ladies
$23.47-50%

panty girdle
Colombia Compress skin after waist girdle surgery to reduce abdominal and waist fat Supply of lined tights after surgery
$48.84-39%



To view Aliexpress you might need to switch your mobile browser to the Desktop version.


Ice self-bondage lock. From 1 hour to 4 hours
Ice self-bondage lock. From 1 hour to 4 hours
from €44.60

If you would like to use search functions, view hidden archives or play games, please consider registering.


Python script to download from erotic-hypnosis.com
#1
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.

Code:
import time
import requests
from requests.adapters import HTTPAdapter
from requests.packages.urllib3.util.retry import Retry
from bs4 import BeautifulSoup

email = "username or email"
password = "your password"

login_url = "https://erotic-hypnosis.com/my-account"
download_url = "the url of the file"

output_file = "my.mp3"

# Create a session to maintain cookies and authentication
session = requests.Session()

# Set up retries with backoff factor
retries = Retry(
    total=5,
    backoff_factor=1,
    status_forcelist=[429, 500, 502, 503, 504],
    method_whitelist=["HEAD", "GET", "OPTIONS", "POST"],
)
adapter = HTTPAdapter(max_retries=retries)
session.mount("http://", adapter)
session.mount("https://", adapter)

# Set the timeout for the session
session_timeout = 120  # Timeout in seconds
session.timeout = session_timeout

# Fetch the login page to retrieve the CSRF token
print("Fetching CSRF token...")
response = session.get(login_url)
soup = BeautifulSoup(response.text, "html.parser")
csrf_token = soup.find("input", {"name": "woocommerce-login-nonce"})["value"]

print("Logging in...")
# Log in to the WooCommerce site
login_data = {
    "username": email,
    "password": password,
    "woocommerce-login-nonce": csrf_token,
    "login": "Log in"
}
response = session.post(login_url, data=login_data, timeout=session_timeout)

if response.status_code == 200:
    print("Login successful")
else:
    print(f"Login failed with status code: {response.status_code}")
    exit(1)

print("Downloading file...")
# Download the MP3 file
response = session.get(download_url, stream=True, timeout=session_timeout)
response.raise_for_status()

# Limit download speed
chunk_size = 8192
bandwidth_limit = 3 * 1024 * 1024 / 60  # 3 MB/minute
delay = chunk_size / bandwidth_limit

bytes_downloaded = 0
# Save the downloaded file
with open(output_file, "wb") as f:
    for chunk in response.iter_content(chunk_size=chunk_size):
        f.write(chunk)
        bytes_downloaded += len(chunk)
        print(f"Downloaded {bytes_downloaded} bytes")
        time.sleep(delay)

print(f"File downloaded successfully as {output_file}")

If you don't have beautifulsoup and requests installed :
Code:
pip install beautifulsoup4
pip install requests
Reply
#2
Wouldn't wget do the trick?
Reply
#3
(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.
Reply
#4
(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.
Reply
#5
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
How to download YouTube (age restricted) videos Lycalopex 8 368 06 May 2024, 19:24
Last Post: Lycalopex
How to download Twitter videos Like Ra 3 225 18 Sep 2023, 23:10
Last Post: Like Ra



Contributors: cinon (3) , Like Ra (2)