Youtube Video, Shorts & MP3 Downloader avatar
Youtube Video, Shorts & MP3 Downloader

Pricing

$9.99/month + usage

Go to Store
Youtube Video, Shorts & MP3 Downloader

Youtube Video, Shorts & MP3 Downloader

Developed by

Scraper Mind

Scraper Mind

Maintained by Community

[𝗖𝗵𝗲𝗮𝗽𝗲𝘀𝘁 𝗣𝗿𝗶𝗰𝗲] YouTube Video, Shorts & MP3 Downloader effortlessly extracts download links from YouTube videos in multiple resolutions: 8K to 360p. It provides separate video, audio & a merged Video link along with detailed metadata. Bulk Processing (Support 1000+ URLs & TXT file)

5.0 (1)

Pricing

$9.99/month + usage

7

Total users

59

Monthly users

24

Runs succeeded

>99%

Issues response

1.4 days

Last modified

a month ago

LG

HTTP Error 403: Forbbiden When Trying to Download the video from the download link

Closed

light_grimace opened this issue
a month ago

Hi,

We keep getting http eror 403 when downloading from the download link. We are using python and triggering it via code. We are downloading results to a CSV reading the csv into pandas, and then triggering downloading

scraper-mind avatar

Thanks for reaching out. To help troubleshoot the 403 error you're seeing, could you please share a screenshot of the code you're using and any relevant logs? That'll help me understand exactly where the issue might be happening.

LG

light_grimace

a month ago
scraper-mind avatar

I totally understand how frustrating it can be to run into errors. While I can’t provide a specific solution without seeing the code, it does seem like the issue might be related to saving the video from Google’s server.

If you can share the relevant part of your code, I’d be happy to take a closer look and help debug it.

LG

light_grimace

a month ago

What part of the code do you need? I am just doing a simple function to get the video out of broswer

def stream_to_s3(mp4_url: str, s3_key: str): headers = { "User-Agent": ( "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " "AppleWebKit/537.36 (KHTML, like Gecko) " "Chrome/114.0.0.0 Safari/537.36" ), "Referer": "https://www.youtube.com", "Origin": "https://www.youtube.com", "Range": "bytes=0-" } url = clean_url(mp4_url) with requests.get(url, stream=True, headers=headers, timeout=30) as r: r.raise_for_status() s3.upload_fileobj(r.raw, BUCKET, s3_key)

LG

light_grimace

a month ago

That is the latest version so not what I started with

scraper-mind avatar

The code you shared doesn’t seem to be the complete version. It would be really helpful if you could share the full code, a screenshot, or even push it to a repo and send the link.

Also, from what you've shared, I don't see how you're using an Apify Actor to retrieve the data.