Could not decrypt video url signature.
It looks like this error is back in force with the 0.8.8 update that was posted on F-Droid just a little bit ago.
Trying to open many YouTube links, such as https://www.youtube.com/watch?v=MyrE1hC0HiQ, results in the error "Could not decrypt video url signature." and the video never playing.
I don't think this is a 0.8.8 issue, as it worked fine yesterday. Rather, I think that Google changed something that broke newpipe.
Error is also present on PureNexus based on 7.1.1 N6F26Q
Same here...
Getting the same error since this morning.. Yesterday it worked fine..
How do we get a stack trace, so that we can be useful instead of just complaining?
Ho boy NewPipe is broken ... Thought I could do something else today ...
I/ActivityManager( 2826): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.schabi.newpipe/.MainActivity bnds=[540,1466][750,1704] (has extras)} from uid 10030 on display 0
I/ActivityManager( 2826): Start proc 12715:org.schabi.newpipe/u0a76 for activity org.schabi.newpipe/.MainActivity
I/ActivityManager( 2826): START u0 {cmp=org.schabi.newpipe/.detail.VideoItemDetailActivity (has extras)} from uid 10076 on display 0
I/ActivityManager( 2826): START u0 {cmp=org.schabi.newpipe/.detail.VideoItemDetailActivity (has extras)} from uid 10076 on display 0
I/ActivityManager( 2826): START u0 {cmp=org.schabi.newpipe/.detail.VideoItemDetailActivity (has extras)} from uid 10076 on display 0
I/ActivityManager( 2826): Killing 12715:org.schabi.newpipe/u0a76 (adj 900): remove task
I/WindowManager( 2826): WIN DEATH: Window{c632caf u0 org.schabi.newpipe/org.schabi.newpipe.detail.VideoItemDetailActivity}
I/ActivityManager( 2826): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.schabi.newpipe/.MainActivity bnds=[540,1466][750,1704] (has extras)} from uid 10030 on display 0
I/ActivityManager( 2826): Start proc 12910:org.schabi.newpipe/u0a76 for activity org.schabi.newpipe/.MainActivity
I/ActivityManager( 2826): START u0 {cmp=org.schabi.newpipe/.detail.VideoItemDetailActivity (has extras)} from uid 10076 on display 0
I/ActivityManager( 2826): Displayed org.schabi.newpipe/.detail.VideoItemDetailActivity: +118ms
W/System.err(12910): org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor$DecryptException: Could not load decrypt function
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:815)
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.<init>(YoutubeStreamExtractor.java:217)
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeService.getExtractorInstance(YoutubeService.java:51)
W/System.err(12910): at org.schabi.newpipe.detail.StreamInfoWorker$StreamExtractorRunnable.run(StreamInfoWorker.java:80)
W/System.err(12910): at org.schabi.newpipe.Downloader.download(Downloader.java:141)
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:794)
I/ActivityManager( 2826): START u0 {cmp=org.schabi.newpipe/.detail.VideoItemDetailActivity (has extras)} from uid 10076 on display 0
I/ActivityManager( 2826): Displayed org.schabi.newpipe/.detail.VideoItemDetailActivity: +108ms
W/System.err(12910): org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor$DecryptException: Could not load decrypt function
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:815)
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.<init>(YoutubeStreamExtractor.java:217)
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeService.getExtractorInstance(YoutubeService.java:51)
W/System.err(12910): at org.schabi.newpipe.detail.StreamInfoWorker$StreamExtractorRunnable.run(StreamInfoWorker.java:80)
W/System.err(12910): at org.schabi.newpipe.Downloader.download(Downloader.java:141)
W/System.err(12910): at org.schabi.newpipe.extractor.services.youtube.YoutubeStreamExtractor.loadDecryptionCode(YoutubeStreamExtractor.java:794)
Maybe this is helpful.
It seems the app is broken. same error for everyone.
I'm on it.
youtube-dl is broken to: https://github.com/TeamNewPipe/NewPipe/issues/430
This is the broken code.
can give me solution for Could not load decrypt function???
may be problem is here
String functionPattern = "("
+ decryptionFuncName.replace("$", "\\$")
+ "=function\\([a-zA-Z0-9_]+\\)\\{.+?\\})";
Well it's more than that, look at this here. This describes it, but somehow it does not yet work for me.
hello sir what i do ?
FYI - maybe it helps
youtube-dl is broken to: #430
youtube-dl works fine for me (NewPipe doesn't), for both versions shown below.
~ youtube-dl --version
2017.01.29
~ youtube-dlold --version
2017.01.10
~ youtube-dlold https://www.youtube.com/watch\?v\=qYodWEKCuGg
[youtube] qYodWEKCuGg: Downloading webpage
[youtube] qYodWEKCuGg: Downloading video info webpage
[youtube] qYodWEKCuGg: Extracting video information
[youtube] qYodWEKCuGg: Downloading MPD manifest
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: Code Monkey-qYodWEKCuGg.f135.mp4
[download] 100% of 10.66MiB in 00:01
[download] Destination: Code Monkey-qYodWEKCuGg.f251.webm
[download] 100% of 2.82MiB in 00:00
[ffmpeg] Merging formats into "Code Monkey-qYodWEKCuGg.mkv"
Deleting original file Code Monkey-qYodWEKCuGg.f135.mp4 (pass -k to keep)
Deleting original file Code Monkey-qYodWEKCuGg.f251.webm (pass -k to keep)
Yes for youtube-dl it depends on the video you are trying to download. youtube-dl needs that signature part only for certain videos but not for all, such like NewPipe does.
Try to download this Video, with youtube-dl and it will fail to:
$ youtube-dl --version
2017.01.29
$ youtube-dl 'https://www.youtube.com/watch?v=34Na4j8AVgA'
[youtube] 34Na4j8AVgA: Downloading webpage
[youtube] 34Na4j8AVgA: Downloading video info webpage
[youtube] 34Na4j8AVgA: Extracting video information
[youtube] 34Na4j8AVgA: Downloading js player en_US-vflV3n15C
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/youtube.py", line 1057, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/youtube.py", line 971, in _extract_signature_function
errnote='Download of %s failed' % player_url)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 529, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 436, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/extractor/common.py", line 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/YoutubeDL.py", line 2000, in urlopen
req = sanitized_Request(req)
File "/usr/local/lib/python3.5/dist-packages/youtube_dl/utils.py", line 525, in sanitized_Request
return compat_urllib_request.Request(sanitize_url(url), *args, **kwargs)
File "/usr/lib/python3.5/urllib/request.py", line 269, in __init__
self.full_url = url
File "/usr/lib/python3.5/urllib/request.py", line 295, in full_url
self._parse()
File "/usr/lib/python3.5/urllib/request.py", line 324, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'
(caused by ValueError("unknown url type: '/yts/jsbin/player-en_US-vflV3n15C/base.js'",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
I may need help.
same error
@cmv47 I don't expect it to work for anyone right now.
I think this solves the problem.
Right saw it.