HaarigerHarald / android-youtubeExtractor

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

how to pass html5=1 in my request method #177

Open shailendra-rajpoot opened 3 years ago

shailendra-rajpoot commented 3 years ago

how to pass this parameter html5=1 in my method extractYoutubeUrl()

extractYoutubeUrl("https://www.youtube.com/watch?v=$id",iTag.toInt(),::getDecodedUrl)

DotProduct commented 3 years ago

I downloaded the source code and added it directly to the YoutubeExtractor url string

shailendra-rajpoot commented 3 years ago

please sir do this as soon as possible. thanku so much sir for reply. I am waiting your response.

DotProduct commented 3 years ago

Sorry. I am not a contributor to this repo. If you clone the repo, and link it to your project I can tell you where to make the change

karthikstrk commented 3 years ago

@DotProduct in youtubeExtractor java file shows read only i cant doany changes,how to change it ,bro

DotProduct commented 3 years ago

You cloned it? Or pull down the zip file? Make sure you are accessing the file after it has been unzipped. Otherwise extract the files first then make the change If you cloned it, I'm not sure why your own filesystem would prevent you from editing

shailendra-rajpoot commented 3 years ago

sir please you create clone of it and make nassesary changes like html5=1 and provide new repo

implementation 'com.github.HaarigerHarald:android-youtubeExtractor:v2.0.0'
MahmoudMabrok commented 3 years ago

@karthikstrk you can use this fork

implementation 'com.github.MahmoudMabrok:android-youtubeExtractor:master-SNAPSHOT'

thisistorsten commented 3 years ago

Description how it works here. https://github.com/thisistorsten/YouTubeApiSharp

MahmoudMabrok commented 3 years ago

i found it is being added (html5=1)

https://github.com/HaarigerHarald/android-youtubeExtractor/blob/46579d12cb33ea9815720416a48bf5f5fb9c88b7/youtubeExtractor/src/main/java/at/huber/youtubeExtractor/YouTubeExtractor.java#L209

MahmoudMabrok commented 3 years ago

we should use implementation 'com.github.HaarigerHarald:android-youtubeExtractor:master-SNAPSHOT'