]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Add iPhone to UA (#1746)
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 18 Nov 2013 12:05:58 +0000 (13:05 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 18 Nov 2013 12:05:58 +0000 (13:05 +0100)
youtube_dl/utils.py

index 1d9785341ec685071ea8fcc4846029a3e889bc72..659ac859d992db0114606e26db9b32f539630226 100644 (file)
@@ -176,7 +176,7 @@ def compat_ord(c):
 compiled_regex_type = type(re.compile(''))
 
 std_headers = {
-    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome)',
+    'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0 (Chrome) (iPhone)',
     'Accept-Charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
     'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
     'Accept-Encoding': 'gzip, deflate',