I am trying to write a script that captures a video from Youtube.
My script works well with a lot of videos, but with some, it is not!
When I try to start it, for example, using this: http://www.youtube.com/watch?v=uOya9vBHXNY , it does not work!
When I get video information from ('http://www.youtube.com/get_video_info?&video_id=' + $ video_id), I get a 150 error message stating that the video is not visible on this website ...
This is an error: state = failure & ErrorCode = 150 & .. reason = Une + batch Special + di + Contenu + de + Cette + VID% C3% A9o + provient + de + EMI + Ca + lecture + EST + Interdite + sur + certains + sites% 3Cbr% 2F% 3E% 3Cu% 3E% 3ca + HREF% 3D% 27http% 3A% 2F% 2Fwww.youtube.com% 2Fwatch% 3Fv% 3DuOya9vBHXNY% 26feature% 3Dplayer_embedded% 27 +% 3D target% 27_blank% 27% 3EVisionner + sur + YouTube% 3C% 2fa% 3E% 3C% 3E% 2Fu
And so I took it apart:
[status] => fail [errorcode] => 150 [reason] => Une partie du contenu de cette vidأ©o provient de EMI.
Sa lecture est interdite sur certains sites.
Any help would be appreciated
Many thanks.
source
share