Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Can not retrieve video from https://www.youtube.com/watch?v=OrLQR8mwGyg #165

Open
CenturionYun opened this issue Dec 26, 2015 · 10 comments
Open

Comments

@CenturionYun
Copy link

Can not retrieve video from https://www.youtube.com/watch?v=OrLQR8mwGyg, it throw a exception says that Could not parse the Youtube page for URL, This may be due to a change of the Youtube page structure.

@flagbug
Copy link
Owner

flagbug commented Dec 27, 2015

Which version of YoutubeExtractor are you using?

@CenturionYun
Copy link
Author

I use the latest one.

2015-12-27 23:09 GMT+08:00 Dennis Daume notifications@github.com:

Which version of YoutubeExtractor are you using?


Reply to this email directly or view it on GitHub
#165 (comment)
.

@rongchaua
Copy link

I have the same issue. I also use the latest version from Nuget 0.10.8

Unknown Error YoutubeExtractor.YoutubeParseException: Could not parse the Youtube page for URL http://youtube.com/watch?v=eZTng1D-Y4U This may be due to a change of the Youtube page structure. Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues ---> System.NullReferenceException: Object reference not set to an instance of an object. at YoutubeExtractor.DownloadUrlResolver.GetAdaptiveStreamMap(JObject json) at YoutubeExtractor.DownloadUrlResolver.<ExtractDownloadUrls>d__6.MoveNext() at YoutubeExtractor.DownloadUrlResolver.GetVideoInfos(IEnumerable`1 extractionInfos, String videoTitle) at YoutubeExtractor.DownloadUrlResolver.GetDownloadUrls(String videoUrl, Boolean decryptSignature) --- End of inner exception stack trace --- at YoutubeExtractor.DownloadUrlResolver.ThrowYoutubeParseException(Exception innerException, String videoUrl) at YoutubeExtractor.DownloadUrlResolver.GetDownloadUrls(String videoUrl, Boolean decryptSignature)

@ghost
Copy link

ghost commented Dec 31, 2015

fixed the issue, added a new pull request.

Issue cause by the GetAdaptiveStreamMap Method in the DownloadUrlResolver class caused by an missing object "adaptive_fmts" in args. Maybe some Youtube Videos dont have this parameter.

To fix it i have used the "url_encoded_fmt_stream_map" parameter instead, worked for me.

@ghost ghost mentioned this issue Dec 31, 2015
@rongchaua
Copy link

Hi detroxx92,
I would like to ask if your fix is already integrated in new version 0.10.9 from Nuget. I've just checked new version. The error still happens, for example with this video
http://youtube.com/watch?v=eZTng1D-Y4U

@CenturionYun
Copy link
Author

another url cannot be parsed! https://www.youtube.com/watch?v=KvqyGJybSI0

@ghost
Copy link

ghost commented Jan 2, 2016

@rongchaua the fix is not in the new version. it is an open pull request jet, The Video you linked just works with the fix.

@CenturionYun this Video seems to produce an other error. i will have a look into that.

@wosinekp
Copy link

wosinekp commented Jan 4, 2016

I have the same issue. I use the latest version from Nuget 0.10.10...

@ghost
Copy link

ghost commented Jan 9, 2016

@rongchaua the fix is now merged and available in version 0.10.10.

@CenturionYun the error is caused by the "old" youtube page layout, that is loaded for this video. This layout is not supported in this version.

@dan20063
Copy link

The given path's format is not supported. for this video https://www.youtube.com/watch?v=oyEuk8j8imI
Any idea why?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants