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

[ie/twitcasting] twitcasting live element status had change from 'onl… #8427

Merged
merged 2 commits into from Oct 27, 2023

Conversation

saintliao
Copy link
Contributor

@saintliao saintliao commented Oct 25, 2023

IMPORTANT: PRs without the template will be CLOSED

Description of your pull request and other information

As the website has been changed the 'is live' element name from 'online' to 'recorded' on twitcasting, the extractor was broken and could not download live stream now.

Closes #8431

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 all of the following options that apply:

  • 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?

Copilot Summary

🤖 Generated by Copilot at c3ad151

Summary

🐛🎥🔓

Fix is_live detection for Twitcasting videos. Use data-status="recorded" instead of data-status="online" in yt_dlp/extractor/twitcasting.py.

is_live changes
recorded videos now free
autumn leaves falling

Walkthrough

  • Fix incorrect live detection for recorded videos on Twitcasting by checking for data-status="recorded" instead of data-status="online" in the webpage (link)

@bashonly bashonly added the site-bug Issue with a specific website label Oct 25, 2023
@bashonly bashonly linked an issue Oct 25, 2023 that may be closed by this pull request
11 tasks
yt_dlp/extractor/twitcasting.py Outdated Show resolved Hide resolved
@bashonly bashonly added the needs-investigating Needs research, information is welcome label Oct 26, 2023
Copy link
Contributor

@JC-Chung JC-Chung left a comment

Choose a reason for hiding this comment

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

Updating the confirmation of is_live

yt_dlp/extractor/twitcasting.py Outdated Show resolved Hide resolved
@bashonly bashonly added pending-fixes PR has had changes requested and removed needs-investigating Needs research, information is welcome labels Oct 27, 2023
@bashonly bashonly added pending-review PR needs a review and removed pending-fixes PR has had changes requested pending-review PR needs a review labels Oct 27, 2023
@bashonly bashonly self-assigned this Oct 27, 2023
@bashonly bashonly merged commit 7b8b1cf into yt-dlp:master Oct 27, 2023
16 checks passed
aalsuwaidi pushed a commit to aalsuwaidi/yt-dlp that referenced this pull request Apr 21, 2024
Closes yt-dlp#8431
Authored by: JC-Chung, saintliao

Co-authored-by: JC-Chung <52159296+JC-Chung@users.noreply.github.com>
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.

[Twitcasting] Unable to download ongoing twitcasting stream
3 participants