Git Product home page Git Product logo

resolver's Introduction

JResolver for Android!

This is a useful library for those who want to create movie and video apps and resolve common links from hoster to play as raw links. There is an example application which offers an example of how the resolvers work.

Supported Sites/Hosts :

  1. Google Photos
  2. Mp4Upload
  3. Facebook
  4. Mediafire
  5. Ok.Ru
  6. VK
  7. Twitter
  8. Youtube
  9. SolidFiles
  10. Vidoza
  11. SendVid
  12. FEmbed
  13. FileRio
  14. DailyMotion
  15. VidBam
  16. VideoBin
  17. BitTube
  18. 4Shared
  19. StreamTape
  20. Vudeo
  21. Amazon Drive
  22. Doodstream
  23. StremSB
  24. Mixdrop
  25. GoUnlimited
  26. Voxzer
  27. AnaVidz
  28. Aparat
  29. Archive
  30. Bitchute
  31. Brighteon
  32. DeadlyBlogger
  33. Fansubs
  34. Diasfem (formerly femax20)
  35. GDStream
  36. Googleuserconent links (lh3.googleusercontent.com/mediaid)
  37. Hdvid
  38. Vidhdthe
  39. Mediashore
  40. VoeSX
  41. GoMoPlayer
  42. EplayVid
  43. VidMoly
  44. Embedsito
  45. Lajkema
  46. GdStream
  47. Diasfem
  48. Suzihaza
  49. Superplayyxyz
  50. Dutrag
  51. Midian,Appboxes.co (avi not currentlysupported MP4 Only)
  52. Upstream

I will be adding more hosters over time and fixing any issues reported.

How To Use

Add this to the PROJECT build.gradle

allprojects {
  repositories {  
  google()  
        jcenter()  
        maven { url "https://jitpack.io" }  //Add this
 }}

Add this to the APP build.gradle


dependencies {  
	implementation 'com.github.Inside4ndroid:resolver:6.4'
}

Add this to you applications manifest.xml

 <application .....
     android:usesCleartextTraffic="true">

Add the rules to your proguard for okhttp3

  # JSR 305 annotations are for embedding nullability information.  
-dontwarn javax.annotation.**  
  
# A resource is loaded with a relative path so the package of this class must be preserved.  
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase  
  
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.  
-dontwarn org.codehaus.mojo.animal_sniffer.*  
  
# OkHttp platform used only on JVM and when Conscrypt dependency is available.  
-dontwarn okhttp3.internal.platform.ConscryptPlatform

Then to use the library make this call

Jresolver jResolver = new Jresolver(this);  
jResolver.onFinish(new Jresolver.OnTaskCompleted() {  
    @Override  
  public void onTaskCompleted(ArrayList<Jmodel> vidURL, boolean multiple_quality) {  
        if (multiple_quality){ //This video you can choose qualities  
  for (Jmodel model : vidURL){  
                String url = model.getUrl();   
  }   
        }else {//If single  
  String url = vidURL.get(0).getUrl();  
  }  
    }  
  
    @Override  
  public void onError() {  
        //Error  
        
  }  
});

Dependencies used in the JResolver Library

JS Evaluator For Android

Fast Android Networking Library

JSoup

Apache Commons Lang

Special Thanks

The library is based on the xGetter Library by Khun Htetz Naing

resolver's People

Contributors

inside4ndroid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.