Check for 403 errors and fallback on Invidious
403 errors on the video urls happen typically when a video has copyrighted content or was livestreamed originally. They appear to not happen (or at least happen less frequently) if the Tor exit node used ipv6, however.
This commit is contained in:
@@ -8,4 +8,5 @@ from .everything_else import (extract_channel_info, extract_search_info,
|
||||
|
||||
from .watch_extraction import (extract_watch_info, get_caption_url,
|
||||
update_with_age_restricted_info, requires_decryption,
|
||||
extract_decryption_function, decrypt_signatures)
|
||||
extract_decryption_function, decrypt_signatures, _formats,
|
||||
update_format_with_type_info)
|
||||
|
||||
Reference in New Issue
Block a user