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

Unable to retrieve any video's streams #345

Closed
atomjack opened this issue Sep 7, 2018 · 12 comments
Closed

Unable to retrieve any video's streams #345

atomjack opened this issue Sep 7, 2018 · 12 comments
Labels

Comments

@atomjack
Copy link

atomjack commented Sep 7, 2018

All of a sudden this morning, any video I try to play results in a Video Playback Error. I did some digging and it looks like the NewPipeExtractor is unable to get the decryption function name. Here's the stack trace:

    org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor$DecryptException: Could not parse decrypt function 
        at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:712)
        at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:581)
        at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:61)
        at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:240)
        at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:232)
        at free.rm.skytube.businessobjects.YouTube.VideoStream.ParseStreamMetaData.getStreamMetaDataList(ParseStreamMetaData.java:75)
        at free.rm.skytube.businessobjects.YouTube.Tasks.GetVideoStreamTask.doInBackground(GetVideoStreamTask.java:46)
        at free.rm.skytube.businessobjects.YouTube.Tasks.GetVideoStreamTask.doInBackground(GetVideoStreamTask.java:30)
        at android.os.AsyncTask$2.call(AsyncTask.java:333)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: org.schabi.newpipe.extractor.utils.Parser$RegexException: failed to find pattern "(["\'])signature\1\s*,\s*([a-zA-Z0-9$]+)\(
        at org.schabi.newpipe.extractor.utils.Parser.matchGroup(Parser.java:58)
        at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:692)
        at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.onFetchPage(YoutubeStreamExtractor.java:581) 
        at org.schabi.newpipe.extractor.Extractor.fetchPage(Extractor.java:61) 
        at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:240) 
        at org.schabi.newpipe.extractor.stream.StreamInfo.getInfo(StreamInfo.java:232) 
        at free.rm.skytube.businessobjects.YouTube.VideoStream.ParseStreamMetaData.getStreamMetaDataList(ParseStreamMetaData.java:75) 
        at free.rm.skytube.businessobjects.YouTube.Tasks.GetVideoStreamTask.doInBackground(GetVideoStreamTask.java:46) 
        at free.rm.skytube.businessobjects.YouTube.Tasks.GetVideoStreamTask.doInBackground(GetVideoStreamTask.java:30) 
        at android.os.AsyncTask$2.call(AsyncTask.java:333) 
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) 
        at java.lang.Thread.run(Thread.java:764) 

@ram-on have you ever seen anything like this before, and are you seeing this right now too? Could YouTube have changed something that broke the extractor functionality? Maybe we should post an issue at https://github.com/TeamNewPipe/NewPipeExtractor/ ?

@swilde
Copy link

swilde commented Sep 7, 2018

Same here. The issue for NewPipeExtractor already exists: TeamNewPipe/NewPipeExtractor#107

@Grammost
Copy link

Grammost commented Sep 7, 2018

youtube-dl has the same problem: ytdl-org/youtube-dl#17457
Seems like YouTube has shipped a new obfuscated JS Player.

@atomjack
Copy link
Author

atomjack commented Sep 7, 2018

Ah, it was created after I posted mine. Ok, we'll have to keep an eye on it :)

@ghost
Copy link

ghost commented Sep 7, 2018

Same bug here ! it has nothing to do with skytube but the youtube plugin on kodi work good !

@gzsombor
Copy link
Member

gzsombor commented Sep 7, 2018

A fix in newpipeextractor: TeamNewPipe/NewPipeExtractor#108

@ram-on
Copy link
Collaborator

ram-on commented Sep 7, 2018

We'll have to wait until the push the changes to Jitpack.

@gzsombor
Copy link
Member

gzsombor commented Sep 7, 2018

Could you try my fix?

@ram-on
Copy link
Collaborator

ram-on commented Sep 7, 2018

@gzsombor Used your solution. thx

@ram-on
Copy link
Collaborator

ram-on commented Sep 7, 2018

#346

@ram-on ram-on closed this as completed Sep 7, 2018
@atomjack
Copy link
Author

atomjack commented Sep 7, 2018

Confirmed fixed!! Thanks @gzsombor !!

@mcpeterc
Copy link

mcpeterc commented Sep 8, 2018

Hi. Im having this issue since yesterday in my Honda civic that runs of Android 4.2.2. Is there anything I Can do to fix it? Im able to install apk files If that helps

@ram-on
Copy link
Collaborator

ram-on commented Sep 8, 2018

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

No branches or pull requests

6 participants