xGetter => LowCostVideo [3.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!
ááŻááşáážááşáá˛áˇ Video App áááşááŽá¸ááťááşáá°áá˝áąáĄááąáá˛áˇ
áĄááŻáśá¸áááşáááˇáş Library ááąá¸ááŤá
ááźáąáŹáşááźáŹááźááˇáşá
ááŹááááŻáá˛
áááŻááşáááŻááşááąáŤááşá¸áááŻáˇáááˇáşáá˝á˛ááŻááşááąá¸áááŻááşááźáŽá¸
áááŹáá˛áˇáááˇáşááᯠáááŻááşáááŻááşááąáŤááşá¸áááŹá¸
áááŻááşáááŻááş Player áá˛áˇáááŻááşáááŻááşááźáááŹá¸
áĄáááşááźáąááááŻáĄááŻáśá¸ááťáááŻááşááŤáááşá
ááąáŹááŹáááşááŤáááşáá˛áˇ Site áá˝áąáááąáŹáˇ
- 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 [3.0]
- 23. Vlare
- 24. pStream
- 25. Vivo.sx
- 26. VideoBin
- 27. BitTube
- 28. 4Shared
- 29. StreamTape
- 30. Vudeo
áááŻáˇáá˛ááźá
áşááŤáááşá
ááŽáááŻááşáá˝áąáĄáŹá¸ááŻáśá¸áááą ááźáąáŹáşááźáŹááźááˇáşá
ááŹááááŻáá˛áááŻááşáááŻááşáááˇáşááŻááşááąá¸áážáŹááŤá
áĄááźáŹá¸áĄááá˛áˇ Video áááşáááŻáˇááá˛áˇ Site áá˝áąáááŻáááşá¸áááşááźááˇáşááąá¸áá˝áŹá¸ááŤáˇáááş :)
áĄá˛áˇááąáŹáˇ Video Sharing App áĄáá˝ááş Host áááşá
ááŹááááŻááąáŹáˇáá°á¸ááąááąáŹáş ;)
áĄááŻáśá¸ááźáŻáááşá¸
ááááŚá¸ááŻáśá¸ build.gradle(project) áá˛á
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" } //Add this
}}
ááźáŽá¸áááş build.gradle(app) áá˛á
dependencies {
implementation 'com.github.KhunHtetzNaing:xGetter:3.0'
}
Android Studio áááŹá¸áá˝áąáááŻáááşááąáŹáˇ Sync Now ááŻááşááąá¸ááŤá
AIDE áááŹá¸áááŻáááşááąáŹáˇ Save ááźáŽá¸ Download ááŻááşáááŻááşá¸áááşááŻááşááąá¸ááŤá
áážááşááťááşá ááĄááşááŹáááşáá˝ááˇáşááŹá¸áááŻáˇáááŻááŤáááş
If not working download this jar file and put to YourProject/app/libs/
AndroidManifest.xml áá˛áážáŹ
<application .....
android:usesCleartextTraffic="true">
áááˇáşááąá¸áááŻáˇáááŻááŤáááşá
ááźáŽá¸áááşááąáŹáˇáááŻááşááąáŤáşááťááşáá˛áˇ Activity áááą
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
Okhttp3 áááŻáĄááŻáśá¸ááźáŻááŹá¸áááˇáşáĄáá˝ááş
proguard-rules.pro áááˇáşááąá¸áááşáááŻáĄááşááŤáááşá
# 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
áĄááŻáśá¸ááźáŻáááŹáááşá¸áá˝ááşááŤáááş :)
- Example APK => https://bit.ly/3bZ2GHX
- Example Project => http://bit.ly/2Sr6Hiw
- Repo => https://github.com/KhunHtetzNaing/xGetter
#HtetzNaing #XGetter #2019