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

latex one piece adult sexy
trekking mountain mens sports shoes basket sport men's tennis for running mens outdoor sneakers running shoes women fitness 0118
$14.83-27%

sexy oil shiny tights pantyhose bodysuit
Sexy Women Oil Shiny Pantyhose U Convex Pouch Bodysuit 8D Elastic Transparent Tights Back Put Up Bodyhouse Shaping Leotard
$33.46-54%

tiaobug sissy
High Look Women Sissy Corset Camis Tops Lace Trim Vintage Color Camisole Strap Tops Backless Lace-up Asymmetrical Hem Top
$16.73-41%

"xckny"
XCKNY glossiness series top oil bottoming shirt short sleevele Arc short sleeves sports Yoga swim Undershirt Satin glossy top
$57.69-48%

"soronssy"
Sexy women Gloss Swimsuit Tights Satin Shiny Japanese Body Suits Long sleeved suit
$324.97-34%

"anal"
Anal C Nt Punk Dystopia Spazz Gg Allin Kbd Mentors Slap Shot Nofx Long Sleeve T-Shirts T-shirt Tee Soft Funny
$114.93-32%

"leohex"
LEOHEX-Women's High Cut Bathing Suit, Japanese Swimsuit, Sexy Monokini, One Piece, Long Sleeve, Female Bather, Summer Suit, New
$34.44



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


Spanking machine
Spanking machine
€159.95

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



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