HaarigerHarald / android-youtubeExtractor

Deprecated: Android based YouTube URL extractor and downloader
Other
877 stars 304 forks source link

Video cannot be extracted since 1/24 #133

Open JmyW opened 4 years ago

JmyW commented 4 years ago

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. :-(

JmyW commented 4 years ago

For example: https://www.youtube.com/watch?v=eNt78mQJavY https://www.youtube.com/watch?v=AgFeZr5ptV8 https://www.youtube.com/watch?v=-CwoylxqVPA

JmyW commented 4 years ago

Is anyone suffering the same issue?

xibr commented 4 years ago

Is anyone suffering the same issue?

Screenshot_٢٠٢٠٠١٢٤-٢١٥٣٤٣_YouTube Download

xibr commented 4 years ago

@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*;");

JmyW commented 4 years ago

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

xibr commented 4 years ago

working with me

https://www.youtube.com/watch?v=-CwoylxqVPA

Screenshot_٢٠٢٠٠١٢٥-٠٦٤٦٠٩_YouTube Download

and this

https://www.youtube.com/watch?v=AgFeZr5ptV8

https://www.youtube.com/watch?v=eNt78mQJavY

JmyW commented 4 years ago

Thanks for prompt feedback. I still failed :-(

HaarigerHarald commented 4 years ago

@JmyW try to clear the cache, this forces a new download and extraction of the decipher function

JmyW commented 4 years ago

Got it, thank you!

Danopie commented 4 years ago

Hi @HaarigerHarald , any plan to land this fix on JitPack?

sametserpil commented 4 years ago

We need a fix for this issue

JmyW commented 4 years ago

@sametserpil Have you update the code that Bunaif and Harald upload 10 days ago? It works on my site.

sametserpil commented 4 years ago

@JmyW Hello, I'm using latest version (2.0.0) and not working for me. ytFiles is null

craftbox2245 commented 4 years ago

@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

JmyW commented 4 years ago

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.