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.
Technologies: Python, Flask, scrapping (BeatifuSoup4 + Selenium), Bootstrap, Javascript, HTML, CSS
- Increase speed ofthe app (optimise scrapping process and use Threads) in order to reduce Timeout exception and improve UX.
- Clone repository
clone <repo> .
-
Update
config.py
file with your informations -
Install dependencies app:
pipenv shell && pipenv install
- Launch server using gunicorn
gunicorn app:app
- Create a repository on Heroku
heroku create <app_name>
- 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
- To use the second buildpack (geckodriver) you'll need to downgrade to
heroku-20
stack
heroku stack:set heroku-20 -a <app name>
- 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/
- 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`
- Launch flask web app (dyno) on Heroku
heroku ps:scale web=1 # This will launch the "web" line script of the `Procfile` file
- 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 withexit
)
- Redeploy Heroku app without code changes:
git commit --allow-empty -m "Redeploy app on heroku"
git push heroku master