Fix exception when _captions_base_url is not present

Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
James Taylor
2022-03-23 00:34:39 -07:00
committed by Jesús
parent e8cbc5074a
commit dcd4b0f0ae
3 changed files with 9 additions and 2 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,
extract_watch_info_from_html)
extract_watch_info_from_html, captions_available)