android-youtubeExtractor
android-youtubeExtractor copied to clipboard
ytFiles still null
Hi I opened an issue today and it was closed by you with a commit but the issue hasn't been resolved. It still gives me ytFiles is null
Thanks
It has been fixed with that commit. I confirm it.
Moreover, if it's not working for you, reason could be you are still using version 1.4. Use Master Snapshot instead.
@Ashish-Bansal @HaarigerHarald Its not working even on master-SNAPSHOT version.
Try to extract the url for this video: https://youtu.be/yRCznT1dEk8
For me is working the master-SNAPSHOT release with videos that fail with the v.1.4. Usually the problem are the "vevo" youtube videos. Thank you
I can't reproduce it, that video works fine for me. Can any of you having problems create some logs with the LOGGING flag enabled?
@HaarigerHarald I don't see anything in the logs regarding the failure. I just get a null youtubeFiles object within onUrisAvailable.
Can you tell me how do I enable the LOGGING flag?
@shivamarora I assume you are using this library in Android application and using gradle build system.
Use this[0] to know how to include project as dependency in gradle. After that, change the value of this variable[1] to 'true'.
[0] https://github.com/MagicMicky/FreemiumLibrary/wiki/Import-the-library-in-Android-Studio [1] https://github.com/HaarigerHarald/android-youtubeExtractor/blob/master/youtubeExtractor/src/main/java/at/huber/youtubeExtractor/YouTubeUriExtractor.java#L35
@Ashish-Bansal Done. What to do now? I'm not seeing any logs with tag 'YouTubeUriExtractor'.
@shivamarora Did you remove the dependency which you had added earlier from the jitpack repository ?
This one : compile 'com.github.HaarigerHarald:android-youtubeExtractor:master-SNAPSHOT'
If yes, then you must have done something wrong.
@Ashish-Bansal Yes I did remove it.
Also, its working if I run the same code in a new project with the gradle dependency.
May be there's something wrong with the packaging of the latest library in android studio with my existing project.
That's why even the logs are not coming out with the tag 'YouTubeUriExtractor'.
Can you guess what could be wrong?
Its not showing me an error to not find the class YoutubeUriExtractor, even if I remove the line compiling the project dependency. There's definitely something wrong with android studio.
@shivamarora Disable Instant Run, update Android Studio, do clean build. That's all I can say. I had encountered such problem with one of the beta release of Android Studio.
@HaarigerHarald So, there's no issue in the library itself.
@Ashish-Bansal @HaarigerHarald Also, the wikipedia page expected to contain the itag information has been changed.
I guess it had some table with different itag values before but it doesn't have that table now.
So can you guys provide itag for different quality formats at a place?
@ShivamArora Check this link : https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/youtube.py#L290
@Ashish-Bansal if this is the case, I'm not able to extract 480p and 1080p Urls for the videos. You can try the video link I shared above.
I'm using itag 59 for 480p and itag 37 for 1080p.
Theae itags stopped existing on the youtube page 2 years ago. If this is the only problem can we close it now?
@ShivamArora try to get all available tags in an array, and get the most suitable for you (smaller video size, bigger, etc). Don't trust in only one or two tags, because every video has different tags available.
@AroundPixels I've tried getting all the tags earlier from the ytFiles SparseArray. But it doesn't list any 1080p urls for videos. And I can download that video in the 1080p mp4 format from Tubemate.
So, its not showing the 1080p url even for videos that support the 1080p quality.
I confirm that this issue is fixed. Guys, open other tickets for your issues and stop flooding this thread.
@MC-ANDROID @HaarigerHarald @AroundPixels @Ashish-Bansal I've created a separate issue for not being able to get Urls of 1080p quality even for videos that do have a 1080p quality.
I can download a 1080p video from some downloaders on the web and using tubemate also.
But I haven't got any reply about my issue from since a week.
Can you guys please look into this and help me in getting Urls for 1080p quality?
@ShivamArora Do you run your app in debug mode, or release mode?
@cyluss I'm running it in debug mode!
Oh, then never mind. Thank you
2016년 7월 15일 (금) 오후 8:45, Shivam Arora [email protected]님이 작성:
@cyluss https://github.com/cyluss I'm running it in debug mode!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HaarigerHarald/android-youtubeExtractor/issues/10#issuecomment-232931704, or mute the thread https://github.com/notifications/unsubscribe-auth/AATdwyKjdWW4kk5JBW6XY_KxeqU5anZDks5qV3LbgaJpZM4I8z_N .
@cyluss why were you asking then?
I was guessing the proguard makes fail to fetch available formats.
2016년 7월 15일 (금) 오후 8:47, Shivam Arora [email protected]님이 작성:
@cyluss https://github.com/cyluss why were you asking then?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HaarigerHarald/android-youtubeExtractor/issues/10#issuecomment-232932086, or mute the thread https://github.com/notifications/unsubscribe-auth/AATdw7UB3sRcLuMHowdISSo_p-87lenfks5qV3NKgaJpZM4I8z_N .
Moreover, if it's not working for you, reason could be you are still using version 1.4. Use Master Snapshot instead.
its not working in master:Shanpshot also
@ShivamArora Do you run your app in debug mode, or release mode?
both
i have the same problem do someone manage to solve it?