GithubHelp home page GithubHelp logo

fknives / android-app-tiktok-downloader Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 5.0 11.83 MB

Simple Open Source App to Download TikTok Videos using share link.

License: Apache License 2.0

Kotlin 16.86% HTML 83.14%
android-app tiktok tiktok-downloader

android-app-tiktok-downloader's People

Contributors

creatorshubham avatar fknives avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

android-app-tiktok-downloader's Issues

Handle the case of removed videos

Some videos are being actively removed from TikTok. In those cases the video downloader reports parsing error.

Instead it should have a separate state in the Queue and moved to the back of it.

Stuck state because of order

If the first video has an incorrect URL, all subsequent upcoming videos won't be downloaded.

That's because the first video will always fail so the others are never tried.

It should be possible, to delete a pending video and also to reorder them.

Possibility to download videos which require login

Sometimes the link throws the user to the login page, I should fix that also if I can. I imagine it is something like captcha.

I think the easiest resolution for that is to:

Recognize this state
Show an option to the user for authenticating the downloader app (There is a QR code option which could be used to link directly back to the app)
Store the auth token and use in subsequent requests.
Unknowns:

What token needs to be stored and sent
How to get that token in the first place
What happens if the token expires, does the same webpage shows or it is a separate issue?
How to have a test for this case without exposing my own account? Could I create a test account for this reason with secrets?

Unable to download

It is impossible for me to download any Tiktok video since some time (beginning of the month I would say). I think Tiktok has changed some things in the process of downloading videos, but I'm not sure, I didn't really look for it.

I have the error: Parsing Error

CI Jobs

Add 2 CI jobs:

  • Run tests on Pull Requests
  • Run UpToDate Test periodically to see if the app has been broken

Captha Issue

is this project complete? I have tried it but it displays a captcha message, and if a captcha is required, how to fill in the captcha?

additional feature that would be great

Could you please make it whenever we click the share to app, it will download and open the app, currently when clicking that button it only downloads the video, but it does't open the app...
thank you

Simplify Parsing & states

Currently parsing is done with Converters.

That's fine and dandy, but we have a bit less control there about the requests, for example to react to captcha we use exception which manually checked against in the converters.

It could be easier to work in a state machine style with the network responses:

  • run the URL
  • based on the response decide between the following states
    • captcha required
    • needs login
    • contains video address to load
    • contains the <video.
    • we have the file url
  • based on the state recognized return a proper response
    • captcha resolution (lazy way: show error for now)
    • show login flow via auto opening the url by user tap (in notification or dialog)
    • parse the next data point end restart the flow
    • download the file and save it

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.