nhCoder / YouTubeExtractor

Extracts Youtube urls for streaming and downloading purpose.
Apache License 2.0
68 stars 25 forks source link

some links not working #3

Closed xibr closed 5 years ago

xibr commented 5 years ago

hi, this video link not work

https://youtu.be/oTxd8iGHPbs

and this https://www.youtube.com/watch?v=Vtov0u4cwBI

JeffZane commented 5 years ago

https://www.youtube.com/watch?v=-4fvCyJBM2Q https://www.youtube.com/watch?v=zRcOtsI8qg0

nhCoder commented 5 years ago

I'll soon fix it thanks for letting me know

JeffZane commented 5 years ago

supply more links: https://www.youtube.com/watch?v=CGIuBSunboo https://www.youtube.com/watch?v=RN2brfgs_5A https://www.youtube.com/watch?v=p7faTzv6ULs

and thank you very much for your contribution

JeffZane commented 5 years ago

Our project is about to be released, and if there are updates, please let me know as soon as possible, Many thanks.

nhCoder commented 5 years ago

Im currently compiling the project.... Soon there will b a fix..

nhCoder commented 5 years ago

The bug is fixed

JeffZane commented 5 years ago

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

nhCoder commented 5 years ago

@bunaif as far as this link https://www.youtube.com/watch?v=Vtov0u4cwBI..it is age restricted video.....The current solution is make user login through a webview and get cookies, set the cookies in a map with key cookie and set it using setHeaders method....

Sent from my HOT 4 PRO using FastHub

nhCoder commented 5 years ago

@JeffZane The video is removed

Sent from my HOT 4 PRO using FastHub

JeffZane commented 5 years ago

Ok thanks

nhCoder commented 5 years ago

@JeffZane they all are working except https://m.youtube.com/watch?v=hBnrf8Y43uU which is blocked.... Plz make sure u check before you ask? thanks

Sent from my HOT 4 PRO using FastHub

JeffZane commented 5 years ago

Sorry, I just tested it in release mode.Because compilation failed, I configured the proguards which may be the reason all failed in release mode, I'm looking for the reason

nhCoder commented 5 years ago

I don't know, check using the demo apk...

JeffZane commented 5 years ago

If you have time, you can update the proguards configuration

nhCoder commented 5 years ago

@JeffZane why don't u just copy the java class to your already project.

Sent from my HOT 4 PRO using FastHub

JeffZane commented 5 years ago

Yes, I've copied it, but compilation failed for proguards(org.mozilla.javascript...java.awt...javax.swing...) I configured it to compile normally, but all conversions failed. Finally, I found that the configuration of models was less.

JeffZane commented 5 years ago

my proguard rules: -keep public class javax.swing. {*;} -keep public class java.awt.* {;} -keep public class org.mozilla.javascript. {*;} -keep public class xxx.util.ytextractor.model.* {;} -dontwarn javax.swing. -dontwarn java.awt. -dontwarn org.mozilla.javascript. -dontwarn xxx.util.ytextractor.model.