izuemon commited on
Commit
d6fa4f1
·
verified ·
1 Parent(s): 2905969

Update watcher.py

Browse files
Files changed (1) hide show
  1. watcher.py +1 -5
watcher.py CHANGED
@@ -112,13 +112,9 @@ def select_best_video_and_audio(items):
112
 
113
 
114
  HEADERS = {
115
- "User-Agent": "com.google.android.youtube/17.31.35 (Linux; U; Android 12)",
116
- "Accept": "*/*",
117
- "Origin": "https://www.youtube.com",
118
- "Referer": "https://www.youtube.com/",
119
  }
120
 
121
-
122
  def download_file(url, path):
123
  with requests.get(
124
  url,
 
112
 
113
 
114
  HEADERS = {
115
+ "User-Agent": "Mozilla/5.0",
 
 
 
116
  }
117
 
 
118
  def download_file(url, path):
119
  with requests.get(
120
  url,