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
Fixtests #7718
Fixtests #7718
Conversation
…s and duration info
…umentation and don't work anymore. Someone who knows their way around these sites that use theplatform should fix this, so that proper regression testing can be done for theplatform.
…because I also don't have access to BBCAmerica.
…s and duration info
…t-dlp into cbcplayer-fixtests
… the extractor is broken as well. Someone in the appropriate geographic region (I'm assuming US) should test this.
…ust not realistic (things like subscriber counts). This will have to be fixed in the base code first before I can continue here.
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Heads up, there are some more review suggestions in the "hidden conversations" -- I'd recommend going to the "Files changed" tab and adding them to a batch commit |
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Thanks for the heads up, added that. Anything else? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You can just do:
but I think this PR is big enough as is, and it's already been reviewed by bashonly, so lets save that for a future PR PS: I posted a review comment on one of the above threads, in case you didn't see it |
Authored by: trainman261
IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information
Fixing tests as discussed in #7484 .
As many as possible were fixed. Despite this, many tests don't work for different reasons, in many cases the videos are no longer available, possibly geo-restricted, sometimes it's hard to tell. Those tests have all been marked with a skip. The tests, where the IE itself seems to be broken, have not been marked with a skip. This means a lot of tests are marked with a skip, though. Wherever I was able to find an alternative video, I did, but I wasn't often able to. If I should get rid of the skip tags, please let me know.
The fixes for the individual IEs have been also maintained in seperate branches and can be pulled separately if required (branches are named name-fixtests).
The following IE tests now all pass (or skip):
The following IEs seem to be broken:
NBCSportsVPlayer seems to not work with CPython 3.7, but works with CPython 3.8 and PyPy.
Fixes #
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:
What is the purpose of your pull request?
Copilot Summary
🤖 Generated by Copilot at 65019f5
Summary
🛠️🌎🚫
This pull request updates and fixes the tests for various extractors, adding or changing keys in the test dictionaries to reflect the current status and metadata of the test URLs. It also skips some tests that fail due to geo-restriction, unavailability, or redirection of the test URLs. The affected extractors include
aenetworks.py
,cbc.py
,cbs.py
,cnbc.py
,corus.py
,generic.py
,mediaset.py
,nationalgeographic.py
,nbc.py
,scrippsnetworks.py
,theplatform.py
,amcnetworks.py
,cwtv.py
,movieclips.py
,sprout.py
,syfy.py
, andtheweatherchannel.py
.Walkthrough
CBCIE
andCorusIE
classes to indicate that the tests do not work and need a fix (link, link)