Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YouTube Import Issues #131

Open
HDFlood opened this issue Nov 18, 2018 · 3 comments
Open

YouTube Import Issues #131

HDFlood opened this issue Nov 18, 2018 · 3 comments

Comments

@HDFlood
Copy link

HDFlood commented Nov 18, 2018

Having a bit of difficulties loading YouTube imports into SLAM. I've had this issue only recently. The consistent error seems to be YoutubeExtractor.YoutubeParseException. Examples:

--------------------18/11/2018 06:18:44 UTC--------------------
YoutubeExtractor.YoutubeParseException: Could not parse the Youtube page for URL http://youtube.com/watch?v=VnWEMCvlHck
This may be due to a change of the Youtube page structure.
Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues ---> System.NotSupportedException: Result cannot be called on a failed Match.
   at System.Text.RegularExpressions.Match.Result(String replacement)
   at YoutubeExtractor.DownloadUrlResolver.GetHtml5PlayerVersion(JObject json)
   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)
   at SLAM.YTImport.DownloadWorker_DoWork(Object sender, DoWorkEventArgs e)
--------------------18/11/2018 06:24:16 UTC--------------------
YoutubeExtractor.YoutubeParseException: Could not parse the Youtube page for URL http://youtube.com/watch?v=N8nGig78lNs
This may be due to a change of the Youtube page structure.
Please report this bug at www.github.com/flagbug/YoutubeExtractor/issues ---> System.NotSupportedException: Result cannot be called on a failed Match.
   at System.Text.RegularExpressions.Match.Result(String replacement)
   at YoutubeExtractor.DownloadUrlResolver.GetHtml5PlayerVersion(JObject json)
   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)
   at SLAM.YTImport.DownloadWorker_DoWork(Object sender, DoWorkEventArgs e)

There hasn't been any resolutions on the main issue page, so I wanted to forward it here to see if anyone has the same issue and/or can help. Any redirects would also help. (I'm also expecting this to get closed cuz it tech doesn't belong here lol)

@Korveen
Copy link

Korveen commented Jan 30, 2019

  • same problem

@mendelgusmao
Copy link

YouTube is making it hard to download content with 3rd party apps and from time to time it's expected some of them will fail. NewPipe on Android is a good example of an app that needs to be updated when YouTube breaks the downloads.

The real issue is not within SLAM, but YoutubeExtractor, the lib SLAM uses to provide this feature.

@a6d6061ed1
Copy link

YouTube is making it hard to download content with 3rd party apps and from time to time it's expected some of them will fail. NewPipe on Android is a good example of an app that needs to be updated when YouTube breaks the downloads.

The real issue is not within SLAM, but YoutubeExtractor, the lib SLAM uses to provide this feature.

this is easily fixed with changes to Decipherer.cs, just look in issues on YoutubeExtractor page and you'll find it

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

No branches or pull requests

4 participants