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

high waist faux "leather"
Spring women's casual solid color single breasted pocket decorative jacket+high waisted skirt set
$134.67-30%

"drozeno"
DROZENO Sexy men's swim trunks solid color low waist shiny men's thong club sports pants
$48.28-50%

"gaff" men
Got Gaff ? Cat Gaff Tape Cute Funny Film Design Tank Tops Vest Sleeveless Cat Gaff Tape Kitten Film Filmmaker Gaffer
$817.22-86%

"bondage" "corset"
New Rhinestone Corset Full Steel Bondage Boned Corset Women Sexy Waist Trainer Steel Bone Bodysuit Corselet Overbust
$15.20-10%

erotic
SN55Cosplay Dark Sexy Erotic Lingerie Women Bra New Year Party Garters Sexy Lingerie For Sex Underwear Set Female Costum Cosyan
$344.68-53%

electro "stimulation" device
Accessories & Parts Blue Miha Bodytec EMS Trainer Suit Electro Muscle Stimulator Underwear XEMS-BP Device MIHA Training System
$302.50

"ftshist"
Ftshist Sexy Flocked Long Gloves Elastic Black Mesh Lace Leopard Transparent Zebra Pattern Thin Gloves Prom Costume Accessories
$20.55-28%



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


House of self-bondage
House of self-bondage
From €450 per week

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 10 884 05 Jan 2025, 16:36
Last Post: Obsidian
How to download Twitter videos Like Ra 3 403 18 Sep 2023, 23:10
Last Post: Like Ra



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