Updated user agent for downloading video
Somehow my server doesn't work, maybe server IP is flagged for too many requests.
This commit is contained in:
parent
459fe82b8d
commit
d37c836787
@ -25,7 +25,7 @@ function downloadVideo($video_url, $geturl = false)
|
||||
CURLOPT_HTTPHEADER => $headers,
|
||||
CURLOPT_FOLLOWLOCATION => true,
|
||||
CURLINFO_HEADER_OUT => true,
|
||||
CURLOPT_USERAGENT => 'Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Mobile Safari/537.36',
|
||||
CURLOPT_USERAGENT => 'okhttp',
|
||||
CURLOPT_ENCODING => "utf-8",
|
||||
CURLOPT_AUTOREFERER => true,
|
||||
CURLOPT_COOKIEJAR => 'cookie.txt',
|
||||
|
Loading…
Reference in New Issue
Block a user