Release [Module] youtube-dl - multi-site playable URL resolver
(2017-12-19, 21:15)sviet2k Wrote: Hi,

I use youtube-dl to get the url for google drive as follows:
     url = 'https://drive.google.com/file/d/0B6*************/view'
     vid = YDStreamExtractor.getVideoInfo(url,quality=0)
     stream_url = vid.streamURL()
youtube-dl return a "correct" stream_url but KODI DVDPlayer cannot play it and throw an exception.

13:11:09.367 T:18446744072344303920  NOTICE: DVDPlayer: Opening: https://r3---sn-t0a7sn7d.c.docs.google.c...layback?id=***********
13:11:09.367 T:18446744072344303920 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
13:11:09.382 T:18446744071967799600  NOTICE: Creating InputStream
13:11:09.560 T:18446744071967799600   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://r3---sn-t0a7sn7d.c.docs.google.c...layback?id=************
13:11:09.653 T:18446744071967799600   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
13:11:09.654 T:18446744071967799600   ERROR: CCurlFile::Open failed with code 403 for

Does anyone know what I did wrong ?

Thanks in advance for your help
sviet
Looks like a transcoded version fetched and you need a DRIVE_STREAM cookie set to playback.  403 = no cookie set, not authorized for playback.
Reply


Messages In This Thread
v14.810.0 - by ruuk - 2014-08-11, 19:45
v14.925.0 - by ruuk - 2014-09-25, 17:49
v14.1026.0 - by ruuk - 2014-10-26, 21:53
v14.1210.0 - by ruuk - 2014-12-10, 23:32
v14.1210.1 - by ruuk - 2014-12-11, 21:17
v15.318.0 - by ruuk - 2015-04-02, 23:01
v15.1123.0 - by ruuk - 2015-11-23, 21:20
v15.1124.0 - by ruuk - 2015-11-24, 21:05
v15.1223.0 - by ruuk - 2015-12-23, 22:27
v16.306.0 - by ruuk - 2016-03-13, 19:05
v16.318.0 - by ruuk - 2016-03-21, 20:31
v16.327.0 - by ruuk - 2016-03-31, 01:12
v16.521.0 - by ruuk - 2016-05-22, 18:15
v16.627.0 - by ruuk - 2016-06-28, 20:38
v16.1026.0 - by ruuk - 2016-10-28, 18:32
v17.310.0 - by ruuk - 2017-03-11, 23:47
v17.518.0 - by ruuk - 2017-05-21, 08:53
v17.518.1 - by ruuk - 2017-05-25, 04:00
v17.709.0 - by ruuk - 2017-07-11, 03:00
v17.1228.0 - by ruuk - 2017-12-28, 22:46
v17.1231.0 - by ruuk - 2018-01-01, 05:46
v18.320.0 - by ruuk - 2018-03-25, 02:07
v18.425.0 - by ruuk - 2018-04-28, 02:53
v14.1217.0 - by ruuk - 2014-12-27, 21:12
RE: Script Error Message - by ruuk - 2016-04-14, 13:15
RE: v16.1026.0 - by Lunatixz - 2016-10-28, 20:25
L0RE - by L0RE - 2017-12-19, 14:34
RE: [Module] youtube-dl - multi-site playable URL resolver - by dmdsoftware - 2017-12-21, 06:34
Script Error Message - by eondesigns1138 - 2016-04-08, 10:46
Error python dependency 2.25.0 - by Alyy - 2016-05-21, 10:45


Logout Mark Read Team Forum Stats Members Help
[Module] youtube-dl - multi-site playable URL resolver2
This forum uses Lukasz Tkacz MyBB addons.