Update youtube_extractor.py
Browse files- youtube_extractor.py +3 -0
youtube_extractor.py
CHANGED
@@ -6,6 +6,9 @@ class YouTubeExtractor:
|
|
6 |
'quiet': True,
|
7 |
'no_warnings': True,
|
8 |
'no_color': True,
|
|
|
|
|
|
|
9 |
}
|
10 |
|
11 |
def extract_info(self, youtube_url):
|
|
|
6 |
'quiet': True,
|
7 |
'no_warnings': True,
|
8 |
'no_color': True,
|
9 |
+
'youtube_include_dash_manifest': False,
|
10 |
+
'youtube_include_hls_manifest': False,
|
11 |
+
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36'
|
12 |
}
|
13 |
|
14 |
def extract_info(self, youtube_url):
|