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:
		| @@ -25,7 +25,7 @@ function downloadVideo($video_url, $geturl = false) | |||||||
|         CURLOPT_HTTPHEADER     => $headers, |         CURLOPT_HTTPHEADER     => $headers, | ||||||
|         CURLOPT_FOLLOWLOCATION => true, |         CURLOPT_FOLLOWLOCATION => true, | ||||||
|         CURLINFO_HEADER_OUT    => 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_ENCODING       => "utf-8", | ||||||
|         CURLOPT_AUTOREFERER    => true, |         CURLOPT_AUTOREFERER    => true, | ||||||
|         CURLOPT_COOKIEJAR      => 'cookie.txt', |         CURLOPT_COOKIEJAR      => 'cookie.txt', | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tufayel Ahmed
					Tufayel Ahmed