Skip to content

[ie/wrestleuniverse:vod] Fix extractor #16685

Merged
bashonly merged 11 commits into
yt-dlp:masterfrom
Sec-Wayne:Fixes-13818-VOD-Extraction-from-WrestleUniverse
Jul 2, 2026
Merged

[ie/wrestleuniverse:vod] Fix extractor #16685
bashonly merged 11 commits into
yt-dlp:masterfrom
Sec-Wayne:Fixes-13818-VOD-Extraction-from-WrestleUniverse

Conversation

@Sec-Wayne

Copy link
Copy Markdown
Contributor

Description of your pull request and other information

Incorporates tewhalen's patch from 13818 to fix VOD downloads from Wrestle Universe.

The original issue goes back to July 2025 when site changes occurred, and a public patch has been available from November 2025.

Tested patch and compile today to confirm compatibility, site now working as before.

Template

Before submitting a pull request make sure you have:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check those that apply and remove the others:

  • I am the original author of the code in this PR, and I am willing to release it under Unlicense
  • I am not the original author of the code in this PR, but it is in the public domain or released under Unlicense (provide reliable evidence)
  • I have read the policy against AI/LLM contributions and understand I may be blocked from the repository if it is violated

What is the purpose of your pull request? Check those that apply and remove the others:

@Sec-Wayne
Sec-Wayne requested review from a team and bashonly May 10, 2026 17:36
@doe1080 doe1080 added the site-bug Issue with a specific website label May 11, 2026
bashonly and others added 7 commits June 9, 2026 11:37
Fix ruff errors
Added 1 (one) new line to fix autopep8 exit code 2.
Correct HTTP 400 error handling
Adds fixes from 0xnzx to clean up 400 handling, and overall refactor changes
Refactor and patch by 0xnzx

@bashonly bashonly left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm going to push a refactor

Comment thread yt_dlp/extractor/wrestleuniverse.py Outdated
'channel': ('labels', 'group', {str}),
'location': ('labels', 'venue', {str}),
'timestamp': ('watchStartTime', {int_or_none}),
'timestamp': ('watchStartTime', {int}),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

revert

Suggested change
'timestamp': ('watchStartTime', {int}),
'timestamp': ('watchStartTime', {int_or_none}),

Comment thread yt_dlp/extractor/wrestleuniverse.py Outdated
'cast': ('casts', ..., 'displayName', {str}),
'duration': ('duration', {int}),
'chapters': ('videoChapters', lambda _, v: isinstance(v.get('start'), int), {
'chapters': ('videoChapters', lambda _, v: int_or_none(v['start']), {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The isinstance usage is deliberate since we don't want filter out dicts with a start value of 0

Suggested change
'chapters': ('videoChapters', lambda _, v: int_or_none(v['start']), {
'chapters': ('videoChapters', lambda _, v: isinstance(v['start'], int), {

bashonly
bashonly previously approved these changes Jul 2, 2026
@bashonly bashonly changed the title [ie/wrestleuniverse] VOD Extraction from WrestleUniverse Fixes #13818 [ie/wrestleuniverse:vod] Fix extractor Jul 2, 2026
@bashonly
bashonly merged commit 498e51f into yt-dlp:master Jul 2, 2026
8 checks passed
@Sec-Wayne
Sec-Wayne deleted the Fixes-13818-VOD-Extraction-from-WrestleUniverse branch July 5, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

site-bug Issue with a specific website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants