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.
This Old House: Index Error: list index out of range #17242
Comments
|
Using PDB, I found in thisoldhouse.py ThisOldHouseIE._real_extract() that drupal_settings doesn't contain jwplatform key, and the comScore list has no entries: (Pdb) pp drupal_settings |
|
Hi @pjtait I've had the same issue. This means video_id cannot be found. I've checked the regexps and they are fine, but you have to be logged in for them to work! If you're using cookie file, make sure it's exported after logging in (obviously) but also check for entries starting with |
|
I did supply username and password in the command, so I should have been logged in OK, I think. However, I wasn't aware of the need for a cookie file - is there any documentation describing the procedure for using this? |
|
@pjtait I believe they are alternatives. I've tried user and password without success, that's why I switched to cookies. The error was the same in both cases which i guess is expected as without logging in regexps cannot find video_id. It seems that the problem is mainly with user/pass login but also error message could be improved a bit suggesting a login problem or breaking changes in TOH website |
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?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to 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 ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
This is just one example from the This Old House Insider TV archives. You can use the 30-day free trial to verify, or, if a developer contacts me privately, I can provide temporary use of my credentials.
Or give me some hints on how to fix this myself.