ZaxR / YP_scraper

Yellow Pages scraper webapp made with Flask, requests, and beautifulsoup. Outputs results to users as csvs. Uses random proxy and user-agent for each request.
6 stars 0 forks source link

Add secure login #5

Closed ZaxR closed 5 years ago

ZaxR commented 5 years ago

Require login/registration to submit a scrape. On successful login, run submitted scrape and flash success. On clicking registration from the login, reroute to index page with fields still filled, but require user to click submit button again.

Accessing task status requires being logged in and having permission to see that task (only tasks kicked off by the logged in user, as stored in SearchHistory)

ZaxR commented 5 years ago

May need to migrate prod db to account for new models