Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for piped.simpleprivacy.fr #7537

Open
10 of 11 tasks
RetroAbstract opened this issue Jul 7, 2023 · 4 comments
Open
10 of 11 tasks

Support for piped.simpleprivacy.fr #7537

RetroAbstract opened this issue Jul 7, 2023 · 4 comments
Labels
site-request Request to support a new website triage Untriaged issue

Comments

@RetroAbstract
Copy link

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

Any (to my knowledge)

Example URLs

Single video: https://piped.simpleprivacy.fr/watch?v=QwIlhuR_N2g
Playlist: https://piped.simpleprivacy.fr/playlist?list=PL8mG-RkN2uTx9Er8AqFDnD6mFvje5fybs

Provide a description that is worded well enough to be understood

This is a request to add support for the SimplePrivacy Piped Instance.

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

[debug] Command-line config: ['-vU', 'https://piped.simpleprivacy.fr/watch?v=QwIlhuR_N2g']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.07.06 [b532a3481] (win_exe)
[debug] Python 3.8.10 - Windows-10
[debug] exe versions: ffmpeg N-109562-g0431f9805e-20230110 (setts), ffprobe N-109562-g0431f9805e-20230110
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.07.06, Current version: stable@2023.07.06
Current Build Hash: 5ff3e702171a50175c34397494e2d18ce35d771c2110b1e59bd173ec2fb352aa
yt-dlp is up to date (stable@2023.07.06)
[generic] Extracting URL: https://piped.simpleprivacy.fr/watch?v=QwIlhuR_N2g
[generic] watch?v=QwIlhuR_N2g: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] watch?v=QwIlhuR_N2g: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://piped.simpleprivacy.fr/watch?v=QwIlhuR_N2g
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1560, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1688, in __extract_info
  File "yt_dlp\extractor\common.py", line 710, in extract
  File "yt_dlp\extractor\generic.py", line 2568, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://piped.simpleprivacy.fr/watch?v=QwIlhuR_N2g
@RetroAbstract RetroAbstract added site-request Request to support a new website triage Untriaged issue labels Jul 7, 2023
@leafstrat
Copy link

leafstrat commented Jul 8, 2023

At first glance I thought this was an Invidious instance but it appears not to be the case. It is an alternative frontend.

https://github.com/TeamPiped

https://docs.piped.video/docs/why/

A lot of inspiration came from NewPipe and Invidious.

I created Piped to fix issues in NewPipe and Invidious which are architectural issues and cannot be fixed easily.

Invidious

Uses way too much resources.
Total bandwidth limited by the peak capacity of the load balancer.
Coded in Crystal, a language that is relatively hard for beginners.
Caching is done at a backend level.
Invidious was a learning project.
Invidious crashes all the time.
Various hacks are required to keep an instance running at a reasonable stability.

However, there are some drawbacks of Piped:

JavaScript is required
Browsers without Service-Workers support will feel significantly slower. Eg: Tor Browser

@gamer191
Copy link
Collaborator

gamer191 commented Jul 8, 2023

@leafstrat all invidious/piped instances are currently redirected to youtube.com, so that's not an issue

but thanks anyway for looking into that!

@imagecreation1
Copy link

Yes, now yt-dlp just fetches the m3u8 playlist from the instance and connects to the youtube servers. Is it possible to proxify it like it is done in piped?

@M-Stenzel
Copy link

Hi RetroAbstract,

how did you succeed? For myself I would like to have added piped.xy-space.de.

Martin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-request Request to support a new website triage Untriaged issue
Projects
None yet
Development

No branches or pull requests

5 participants