Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 2.33 KB

README.md

File metadata and controls

87 lines (65 loc) · 2.33 KB

Tinder Photos Downloader

TPD helps you to download your photos from you Tinder profile. Add user ID to you account in your Tinder profile, then enter it in TPD and download your photos. 100% free, no email required.

👉 Video demo

Technologies: Python, Flask, scrapping (BeatifuSoup4 + Selenium), Bootstrap, Javascript, HTML, CSS

Screenshot

Upcoming updates

  • Increase speed ofthe app (optimise scrapping process and use Threads) in order to reduce Timeout exception and improve UX.

Development

  1. Clone repository
clone <repo> .
  1. Update config.py file with your informations

  2. Install dependencies app:

pipenv shell && pipenv install
  1. Launch server using gunicorn
gunicorn app:app

Deployment

  1. Create a repository on Heroku
heroku create <app_name>
  1. Add a Buildpack for Heroku (replace <app_name> by your app name)
heroku buildpacks:set heroku/python -a <app_name>
heroku buildpacks:add https://github.com/pyronlaboratory/heroku-integrated-firefox-geckodriver 
  1. To use the second buildpack (geckodriver) you'll need to downgrade to heroku-20 stack
heroku stack:set heroku-20 -a <app name>
  1. Add the need varibles to the PATH in Heroku
heroku config:set FIREFOX_BIN=/app/vendor/firefox/firefox GECKODRIVER_PATH=/app/vendor/geckodriver/geckodriver LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib:/app/vendor PATH=/usr/local/bin:/usr/bin:/bin:/app/vendor/
  1. Push code to heroku using git
git init
heroku git:remote -a <app_name>
git add .
git commit -m "First commit"
git push -u heroku master # or if you are working on another branch: `git push heroku <branch_name>:master`
  1. Launch flask web app (dyno) on Heroku
heroku ps:scale web=1 # This will launch the "web" line script of the `Procfile` file
  1. Visit the app:
heroku info -s | grep web_url | cut -d= -f2 
# And click the link ;)

If the app is not working properly after you followd the previous steps:

  • Check logs: heroku logs --tail
  • Run Heroku CLI (to list files etc.): heroku run bash (close it with exit)

Tips

  • Redeploy Heroku app without code changes:
git commit --allow-empty -m "Redeploy app on heroku"
git push heroku master