Open JmyW opened 4 years ago
Is anyone suffering the same issue?
Is anyone suffering the same issue?
@JmyW try this
replace line 86 in YouTubeExtractor.java
private static final Pattern patSignatureDecFunction = Pattern.compile("([\\w$]+)\\s*=\\s*function\\(([\\w$]+)\\).\\s*\\2=\\s*\\2\\.split\\(\"\"\\)\\s*;");
to
private final static Pattern patSignatureDecFunction = Pattern.compile("\\b([\\w$]{2})\\s*=\\s*function\\((\\w+)\\)\\{\\s*\\2=\\s*\\2\\.split\\(\"\"\\)\\s*;");
Thanks, bunaif But I tested examples: Still failed, ytFiles is null. https://www.youtube.com/watch?v=eNt78mQJavY https://www.youtube.com/watch?v=AgFeZr5ptV8 https://www.youtube.com/watch?v=-CwoylxqVPA
Thanks for prompt feedback. I still failed :-(
@JmyW try to clear the cache, this forces a new download and extraction of the decipher function
Got it, thank you!
Hi @HaarigerHarald , any plan to land this fix on JitPack?
We need a fix for this issue
@sametserpil Have you update the code that Bunaif and Harald upload 10 days ago? It works on my site.
@JmyW Hello, I'm using latest version (2.0.0) and not working for me. ytFiles is null
@JmyW you solved your problem ? with clear the cache, solution then please tell me how to clear cache i am also suffering same isuue some url not extract and getting ytfile null
I found it works on my phone but failed on the emulator. To clear the cache, I actually just wipe the data of emulator. Then it works.
The 2.0.0 was released 5 days ago, it worked perfect. But start from today 1/24, Youtube changed again. Many of videos can be no longer extracted. :-(