diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 6c3c095f7..cdfa7000b 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -547,6 +547,34 @@ def _guess_encoding_from_content(content_type, webpage_bytes): return encoding + def __check_blocked(self, content): + first_block = content[:512] + if ('