HaarigerHarald / android-youtubeExtractor

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

please add html5=1 to the source file without this parameter repo is not in working condition #179

Open shailendra-rajpoot opened 3 years ago

shailendra-rajpoot commented 3 years ago

otherwise tell me how can i pass this parameter html5=1 in method extractYoutubeUrl()

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

possible3656 commented 3 years ago

its simple first you've to download the source code of dependency then import it as a module then after importing you can edit its file and add html =5 or whatever they are saying to this place let me give you wait its in line 210 edit that link to how they are saying and youre good to go thanks

shailendra-rajpoot commented 3 years ago

hello friend i am new to flutter i do not how to convert java file to dart

MahmoudMabrok commented 3 years ago

@shailendra-rajpoot you can use this

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

and it will work ISA.

shailendra-rajpoot commented 3 years ago

thanku so much for reply i have cloned it and modified then add it as a module

thisistorsten commented 3 years ago

https://github.com/HaarigerHarald/android-youtubeExtractor/issues/177

karthikstrk commented 3 years ago

@shailendra-rajpoot how to clone please can u say

thisistorsten commented 3 years ago

You cant use it as Java repo. Its build in c#.

You have to modify your code.

I have only attached it because the bug is fixed inside the code.

karthikstrk @.***> schrieb am Fr., 21. Mai 2021, 12:40:

@shailendra-rajpoot https://github.com/shailendra-rajpoot how to clone please can u say

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/HaarigerHarald/android-youtubeExtractor/issues/179#issuecomment-845858524, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS5JW2OWKIWDL2CTPMPJPG3TOY2ARANCNFSM45HTGTZA .

karthikstrk commented 3 years ago

Copy five java files from youtubeextractor then paste it on ur folder where your others file is.. Then modify the 210 line... You ill get two errors nonnull and js..... Implement com.github.evgenyneu:js-evaluator-for-android:v2.0.0 in ur gradle... For non null import androidx..... Then ill work fine as before...

MahmoudMabrok commented 3 years ago

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