Hi,
I want to use yt-dlp to download a Youtube video through TOR:
yt-dlp --proxy "socks5://localhost:9150" "https://www.youtube.com/watch?v=v5OW9aZHWfk&list=PLoROMvodv4rOhE007XQu707D y52qXiZGV&index=2&pp=iAQB"
Error is attached. What’s the problem?
Support our site by donate $5 directly to us Thanks!!!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
Try StreamFab Downloader and download streaming video from Netflix, Amazon!
+ Reply to Thread
Results 1 to 11 of 11
-
-
try what is posted in this reddit thread - https://www.reddit.com/r/youtubedl/comments/11um0z3/how_do_i_use_ytdlp_through_tor_in_...rder_to_avoid/
-
Code:
17.01.2025 yt-dlp_x86 --proxy socks5://127.0.0.1:9150 https://www.youtube.com/watch?v=v5OW9aZHWfk [youtube] Extracting URL: https://www.youtube.com/watch?v=v5OW9aZHWfk [youtube] v5OW9aZHWfk: Downloading webpage [youtube] v5OW9aZHWfk: Downloading tv player API JSON [youtube] v5OW9aZHWfk: Downloading ios player API JSON [youtube] v5OW9aZHWfk: Downloading m3u8 information [info] v5OW9aZHWfk: Downloading 1 format(s): 137+251 [download] Destination: Stanford EE259 I GPS principle of operation, ranging codes & navigation messages I 2023 I Lecture 2 [v5OW9aZHWfk].f137.mp4 [download] 1.4% of 312.51MiB at 489.10KiB/s ETA 10:45
-
Hello! Instead of having the Tor socket running on your real machine, the simplest and most viable option is to use WHONIX! Set up the server to route everything from the WHONIX client through Tor, and then use the binary version of ytdlp on the client side within WHONIX. That should be sufficient! You can find more information at https://www.whonix.org/.
-
I’ve got this error while running
yt-dlp_x86 --proxy socks5://127.0.0.1:9150 https://www.youtube.com/watch?v=NQlYpDQf-SE
[youtube] Extracting URL: https://www.youtube.com/watch?v=NQlYpDQf-SE
[youtube] NQlYpDQf-SE: Downloading webpage
WARNING: [youtube] Unable to download webpage: (<yt_dlp.networking._requests.SocksHTTPSConnectio n object at 0x04CA93E8>, 'Connection to www.youtube.com timed out. (connect timeout=20.0)')
[youtube] NQlYpDQf-SE: Downloading iframe API JS
WARNING: [youtube] Unable to fetch PO Token for tv client: Missing required Visitor Data. You may need to pass Visitor Data with --extractor-args "youtube:visitor_data=XXX"
[youtube] NQlYpDQf-SE: Downloading player c8dbda2a
WARNING: [youtube] Download of https://www.youtube.com/s/player/c8dbda2a/player_ias.vflset/en_US/base.js failed: SocksHTTPSConnectionPool(host='www.youtube.com', port=443): Read timed out. (read timeout=20.0)
[youtube] NQlYpDQf-SE: Downloading tv player API JSON
[youtube] NQlYpDQf-SE: Downloading player c8dbda2a
[youtube] NQlYpDQf-SE: Downloading ios player API JSON
WARNING: [youtube] Unable to fetch PO Token for web client: Missing required Visitor Data. You may need to pass Visitor Data with --extractor-args "youtube:visitor_data=XXX"
[youtube] NQlYpDQf-SE: Downloading web player API JSON
ERROR: [youtube] NQlYpDQf-SE: Sign in to confirm you’re not a bot. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies
Do I have to give my Youtube account info in this command? -
Yes, seems so. Your IP is likely blocked for anonymous access. Read this yt-dlp documentation page for explanation and options: https://github.com/yt-dlp/yt-dlp/wiki/Extractors
-
Code:
25.02.2025 yt-dlp_x86 --proxy socks5://127.0.0.1:9150 --socket-timeout 20 https://www.youtube.com/watch?v=NQlYpDQf-SE [youtube] Extracting URL: https://www.youtube.com/watch?v=NQlYpDQf-SE [youtube] NQlYpDQf-SE: Downloading webpage [youtube] NQlYpDQf-SE: Downloading tv client config [youtube] NQlYpDQf-SE: Downloading player 7795af42 [youtube] NQlYpDQf-SE: Downloading tv player API JSON [youtube] NQlYpDQf-SE: Downloading ios player API JSON [youtube] NQlYpDQf-SE: Downloading m3u8 information [info] NQlYpDQf-SE: Downloading 1 format(s): 137+251 [download] Resuming download at byte 191850992 [download] Destination: Stanford EE259 I Camera principle of operation and architectures, image formation I 2023 I Lec. 19 [NQlYpDQf-SE].f137.mp4 [download] 60.7% of 317.94MiB at 3.38MiB/s ETA 00:36
Similar Threads
-
Help! Download Video Youtube
By axnspain in forum Video Streaming DownloadingReplies: 13Last Post: 19th Aug 2024, 15:19 -
YouTube Video Download
By jluke in forum Newbie / General discussionsReplies: 4Last Post: 1st Jul 2024, 12:47 -
How to youtube-dl download login required youtube video?
By abrogard in forum Video Streaming DownloadingReplies: 14Last Post: 6th Jun 2022, 19:51 -
Download .ts video stream with youtube-dl
By loscamos in forum Video Streaming DownloadingReplies: 11Last Post: 28th Sep 2021, 18:19 -
Cannot download video, youtube-dl tried
By lordsmurf in forum Newbie / General discussionsReplies: 3Last Post: 7th Dec 2020, 08:21