iBR
iBR
this repo does not provide any convertation methods, it parses urls from youtube, and unfortunately, youtube does not have mp3 formats for audio.
check [youtubedl-android](https://github.com/yausername/youtubedl-android) Contains ffmpeg.
> Is anyone suffering the same issue? ![Screenshot_٢٠٢٠٠١٢٤-٢١٥٣٤٣_YouTube Download](https://user-images.githubusercontent.com/20098154/73091562-1bf1df80-3ef4-11ea-8023-63eb7fcdbe88.jpg)
@JmyW try this replace line 86 in [YouTubeExtractor.java](https://github.com/HaarigerHarald/android-youtubeExtractor/blob/master/youtubeExtractor/src/main/java/at/huber/youtubeExtractor/YouTubeExtractor.java#86) `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*;"); `
working with me > https://www.youtube.com/watch?v=-CwoylxqVPA ![Screenshot_٢٠٢٠٠١٢٥-٠٦٤٦٠٩_YouTube Download](https://user-images.githubusercontent.com/20098154/73115377-8c255300-3f3e-11ea-9e3a-7938ea8a4719.jpg) and this > https://www.youtube.com/watch?v=AgFeZr5ptV8 > https://www.youtube.com/watch?v=eNt78mQJavY
working without any problems. any URL for example?
fixed, close this issue.
@RadamireZ > in my case the problem persist, try this: 9dmpUjW18MQ ![Screenshot_٢٠٢٠٠٤١٩-٠٣١٨٢٩_YouTube Download](https://user-images.githubusercontent.com/20098154/79673694-020f2280-81ed-11ea-8730-78a7b5a75cf1.jpg) try to clear the cache.
make sure you are using the latest provided apk from here https://github.com/HaarigerHarald/android-youtubeExtractor/releases/tag/v2.1.0 after install, clear app data and try again.
> after sync the gradle, it still not work. I can only extract some video, maybe it's only my problem. Go to build > clean project after cleaning Rebuild project.