Always extract from html watch page to get base.js url

Youtube removed the url from the pbj responses. They are now
only in the html page. Replaces previous fix for the missing
base.js issue.
This commit is contained in:
James Taylor
2020-12-12 23:11:54 -08:00
parent 6443cedf62
commit 9d0be82e74
3 changed files with 77 additions and 39 deletions

View File

@@ -10,4 +10,4 @@ from .watch_extraction import (extract_watch_info, get_caption_url,
update_with_age_restricted_info, requires_decryption,
extract_decryption_function, decrypt_signatures, _formats,
update_format_with_type_info, extract_hls_formats,
update_with_missing_base_js)
extract_watch_info_from_html)