Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Some new BBC Radio Programs not downloading (old ones working fine) #17270
Comments
|
The issue is caused by their introduction of Programme IDs (PIDs) starting with the letter - _ID_REGEX = r'[pbw][\da-z]{7}'
+ _ID_REGEX = r'[bmpw][\da-z]{7}'should be enough... EDIT: Looking at the code I quoted, this assumes an 8-character alphanumeric string; however, since last year we've seen PIDs 15-character long for BBC WS Radio, e.g. - _ID_REGEX = r'[pbw][\da-z]{7}'
+ _ID_REGEX = r'[bmpw][\da-z]{7,14}'Again, not a coder here, just an educated iPlayer user... |
|
The first above suggestion by @Vangelis66 works. Here is the patch:
Thanks! |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
Most BBC radio downloads work fine.
However, I encountered three downloads that have failed just recently.
https://www.bbc.co.uk/programmes/m00005xn
https://www.bbc.co.uk/programmes/m00005xj
https://www.bbc.co.uk/programmes/m00005xq
They all fail the same way -- see transcript above