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

[peertube] handle new video URL format #29475

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Chocobozzz
Copy link

Please follow the guide below

  • You will be asked some questions, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your pull request (like that [x])
  • Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • Bug fix
  • Improvement
  • New extractor
  • New feature

Description of your pull request and other information

videos\.tcit\.fr|
peertube\.cpy\.re|
canard\.tube
)'''
_UUID_RE = r'[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'
_UUID_RE = r'[\da-zA-Z]{22}|[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this break the old UUID's, assuming old ones are still in use ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pukkandan added a commit to yt-dlp/yt-dlp that referenced this pull request Aug 23, 2021
Lesmiscore added a commit to ytdl-patched/ytdl-patched that referenced this pull request Aug 23, 2021
* 'master' of https://github.com/yt-dlp/yt-dlp:
  [peertube] handle new video URL format Closes #722, ytdl-org/youtube-dl#29782 Original PR: ytdl-org/youtube-dl#29475 Authored by: Chocobozzz
  [adobepass] Fix Verizon SAML login (#743)
  Fix `add_info_extractor` when used via API Bug from: 251ae04
  [lazy_extractor] Create instance only after pre-checking archive
  [lazy_extractor] Import actual class if an attribute is accessed
  [extractor] Show video id in error messages if possible
  [extractor] Better error message for DRM (#729)
  [youtube] Add av01 itags to known formats list (#747)
  [bitchute] Fix test (#758)
  [lazy_extractors] Fix `suitable` and add flake8 test
  [utils] Add `parse_qs`
  [youtube] Add `shorts` to `_VALID_URL` Normally the generic extractor will redirect the URL, but the cookies consent screen may sometimes appear instead
  Don't try to merge with final extension
  [extractor] Common function `_match_valid_url`
nixxo pushed a commit to nixxo/yt-dlp that referenced this pull request Nov 22, 2021
@guysoft
Copy link

guysoft commented Nov 27, 2022

Hey, just patched it against the latest in pypi and it works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants