Giter Club home page Giter Club logo

xgetter's Introduction

xGetter => LowCostVideo [1.0]

I change something to comply with Google play policy.

  • Remove external javascript file
  • Change the class name to LowCostVideo
  • Rewrite codes

xGetter Library for Android!

For those who want to create a movie and video app This is a useful library. No need to look at ads You can download the link to download it directly Will you download the link directly? Show live with your own player? You can use it as you see fit. Currently ten sites are:

  • 1. Google Drive
  • 2. DailyMotion
  • 3. Google Photos
  • 4. Mp4Upload
  • 5. Facebook
  • 6. Mediafire
  • 7. Ok.Ru
  • 8. VK
  • 9. Twitter
  • 10. Youtube
  • 11. SolidFiles
  • 12. Vidoza
  • 13. UptoStream
  • 14. SendVid
  • 15. FanSubs
  • 16. Uptobox
  • 17. FEmbed
  • 18. FileRio
  • 19. MegaUp
  • 20. GoUnlimited
  • 21. CocoScope
  • 22. VidBM

New supported sites [1.0]

  • 23. Vlare
  • 24. pStream
  • 25. Vivo.sx
  • 26. VideoBin
  • 27. BitTube
  • 28. 4Shared
  • 29. StreamTape
  • 30. Vudeo

We are the only ones. All of these sites provide direct links to ads without the need to view ads. We will add other free video uploading sites :) So you do not need to buy a host for the Video Sharing App;)

How to use

From the first ** build.gradle (project) **

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

Then build.gradle(app) Out of

dependencies {  
	implementation 'com.github.apdelhaktarek:xGetter:1.0'
}

For Android Studio users, please Sync Now **. If you are an AIDE user, please save and download. **Note. You need to have internet enabled **

**

In ** AndroidManifest.xml **

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

You need to add

Then from the Activity you want to call

LowCostVideo xGetter = new LowCostVideo(this);  
xGetter.onFinish(new LowCostVideo.OnTaskCompleted() {  
    @Override  
  public void onTaskCompleted(ArrayList<XModel> vidURL, boolean multiple_quality) {  
        if (multiple_quality){ //This video you can choose qualities  
  for (XModel model : vidURL){  
                String url = model.getUrl();   
 String cookie = model.getCookie(); //If google drive video you need to set cookie for play or download  
  }   
        }else {//If single  
  String url = vidURL.get(0).getUrl();  
  }  
    }  
  
    @Override  
  public void onError() {  
        //Error  
  }  
});

IMPORTANT

Because Okhttp3 is used ** proguard-rules.pro ** is required.

# 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

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.