Skip to content

wayback machine onion support #9707

Description

@barkoder

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

Region

No response

Example URLs

https://web.archivep75mbjunhxc6x4j5mwjmomyxb573v42baldlqu56ruil2oiad.onion/web/20170612011335/https://www.youtube.com/watch?v=o_TIdWRuixo

Provide a description that is worded well enough to be understood

Wayback machine has an onion link - https://web.archivep75mbjunhxc6x4j5mwjmomyxb573v42baldlqu56ruil2oiad.onion

Support onion version of wayback machine.

Works. - yt-dlp -F https://web.archive.org/web/20170612011335/https://www.youtube.com/watch?v=o_TIdWRuixo

Fails and redirects to youtube. - yt-dlp -F --proxy socks5h://127.0.0.1:9050 https://web.archivep75mbjunhxc6x4j5mwjmomyxb573v42baldlqu56ruil2oiad.onion/web/20170612011335/https://www.youtube.com/watch?v=o_TIdWRuixo

Opening a separate issue for adding "full onion support" as requested .

Also related #7587.

Thanks!

EDIT: Updated archive.org's onion URLs.

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • If using API, add 'verbose': True to YoutubeDL params instead
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

$ yt-dlp -v --proxy "socks5h://127.0.0.1:9050" -F https://web.archivep75mbjunhxc6x4j5mwjmomyxb573v42baldlqu56ruil2oiad.onion/web/20170612011335/https://www.youtube.com/watch?v=o_TIdWRuixo

[debug] yt-dlp version nightly@2024.04.13.232802 from yt-dlp/yt-dlp-nightly-builds [315b35442] (py2exe)

I don't think the rest is required. yt-dlp just redirects to youtube at the moment. Do let me know if you need the rest of the log.

Metadata

Metadata

Assignees

No one assigned

    Labels

    site-enhancementFeature request for some websitetriageUntriaged issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions