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.
I use newest youtube-dl from git repository.
When Crunchyroll site was probably temporarily down, I happened to reproduce
AttributeErrorexception in youtube-dl:By looking at code, it seems that
youtube_dl/extractor/common.py:_download_xml()returnedFalse, which it can do (although it is not documented in its doc string):Next
youtube_dl/extractor/crunchyroll.py:_call_rpc_api()returned thisFalseunchanged:Which was assigned here:
Functions for XML parsing in
youtube_dl/utils.pydo not work withFalse, so it is better to return error earlier.Probably something like this: