cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: http 403 fobidden from YouTube

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 27 Dec 2012 11:13:42 +0100

On Thu, Dec 27, 2012 at 05:37:54PM +0800, ภ่ะกปิ wrote:
> My mediaplay use curl for http stream download. When I play the video , often
> return the 403 fobidden error recently. I don't know whether I can get the 403
> substatus error code using the libcurl. How to do it? Thanks!

Are you looking for the CURLINFO_RESPONSE_CODE option to
curl_easy_getinfo()?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-12-27