From 9d0be82e7425641a58a551fefce26385dee2f9d3 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Sat, 12 Dec 2020 23:11:54 -0800 Subject: 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. --- youtube/yt_data_extract/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube/yt_data_extract/__init__.py') diff --git a/youtube/yt_data_extract/__init__.py b/youtube/yt_data_extract/__init__.py index 697e003..ad7bd03 100644 --- a/youtube/yt_data_extract/__init__.py +++ b/youtube/yt_data_extract/__init__.py @@ -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) -- cgit v1.2.3