Coder Social home page Coder Social logo

luisguzmanms / socialdown Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 28.69 MB

SocialDown es una aplicación para dispositivos Android la cual permite descargar videos, imagenes, reels y stories de las redes sociales como Facebook, Instagram y Tiktok. Ademas, sin marca de agua.

License: GNU General Public License v3.0

Kotlin 100.00%
downloader facebook instagram post video

socialdown's Introduction

SocialDown - Video Downloader

Guarda tus publicaciones favoritas en un solo lugar.
SIN MARCA DE AGUA

Get it on Google Play Download on the Uptodown Store

website mixpanel

SocialDown · Features · Built With · API Rest

SocialDown

Current Version Primer lanzamiento (v1.0) a GooglePlay el 28 de diciembre de 2022.

SocialDown SocialDown

SocialDown es una aplicación para dispositivos Android la cual permite descargar videos, imagenes, reels y stories de las redes sociales como Facebook, Instagram y Tiktok.
Ademas, sin marca de agua.

Disponible para Android.

El desarrollo se ha realizado implementando el patrón Model-View-ViewModel (MVVM)

Features

Algunas de las funciones que puedes hacer en SocialDown

  • Descargar varios elementos a la vez en publicaciones como:
    • Stories (Instagram)
    • Carousel (Instagram)
  • Eliminar marca de agua:
    • Videos (TikTok)
  • Elegir entre resolución HD Y FHD

lofiradio

Built With 🛠

API Rest ✅

Se ha utilizado https://rapidapi.com/ para el uso de API's freemium que nos proporcione la posibilidad de decargar videos de diferentes sitios web como Facebook, Instagram y Tiktok.

Ej. APITiktok : https://rapidapi.com/yi005/api/tiktok-download-without-watermark/

Get video from url

  GET /analysis?url={url}
Parameter Type Description
X-RapidAPI-Key string Required. API key (rapidapi.com)
X-RapidAPI-Host string Required. tiktok-download-without-watermark.p.rapidapi.com

API

/** Created by Luis Mesa on 09/08/22 */
interface APITiktok {
    enum class APIs {Maatootz,Maatootz2,Yi005}
    /**
     * author: Yi005
     * url: https://rapidapi.com/yi005/api/tiktok-download-without-watermark/
     * baseUrl: https://www.tiktok.com/@luisguzmanms/video/42840537322866
     * patchQuery: analysis?url=
     */
    @Headers("X-RapidAPI-Host: tiktok-download-without-watermark.p.rapidapi.com")
    @GET()
    suspend fun getDataYi005(
        @Header("X-RapidAPI-Key") X_RapidAPI_Key: String,
        @Url url: String
    ): Response<TiktokResYi005>
}

Response

/** Created by Luis Mesa on 09/08/22 */
data class TiktokResYi005(
    @SerializedName("code") var code: Int? = null,
    @SerializedName("msg") var msg: String? = null,
    @SerializedName("processed_time") var processedTime: Double? = null,
    @SerializedName("data") var data: Data? = Data()
)

Retrofit + Coroutines

/** Created by Luis Mesa on 09/08/22 */
     CoroutineScope(Dispatchers.IO).launch {
                val call: Response<TiktokResYi005> =
                    RetrofitHelper.getRetrofit(dataApi.baseUrl!!)
                        .create(APITiktok::class.java)
                        .getDataYi005(dataApi.key!!, "${dataApi.queryPath}$queryLink")
                val resBody: TiktokResYi005? = call.body()

Acknowledgments 💬

Agradecimiento y creditos a las siguientes herramientas/librerias:

socialdown's People

Contributors

luisguzmanms avatar

Stargazers

 avatar

Watchers

 avatar

socialdown's Issues

Text2ImageData

  • Crear helper para Text2Image con el cual guardar los datos de text 2 imagen en preferencias.
  • Almacenar datos a medida que se va configurando la imagen a configurar.

java.net.UnknownHostException

Error al consumir API
java.net.UnknownHostException: Unable to resolve host \"tiktok-full-info-without-watermark.p.rapidapi.com Fatal Exception: java.net.UnknownHostException: Unable to resolve host "tiktok-downloader-download-tiktok-videos-without-watermark.p.rapidapi.com": No address associated with hostname at java.net.Inet6AddressImpl.lookupHostByName(Inet6AddressImpl.java:157) at java.net.Inet6AddressImpl.lookupAllHostAddr(Inet6AddressImpl.java:105) at java.net.InetAddress.getAllByName(InetAddress.java:1154) at okhttp3.Dns$Companion$DnsSystem.lookup(Dns.kt:49) at okhttp3.internal.connection.RouteSelector.resetNextInetSocketAddress(RouteSelector.kt:164) at okhttp3.internal.connection.RouteSelector.nextProxy(RouteSelector.kt:129) at okhttp3.internal.connection.RouteSelector.next(RouteSelector.kt:71) at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:205) at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106) at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74) at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764)

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.