Simple tproger.ru articles web-scraper (request + bs + csv)
- settings.py - first you should fill it with desired data to scrape, BASE_URL & PAGES_NAME, insert desired category names of the tproger.ru
BASE_URL = "https://tproger.ru/{tag}/page/{page_number}/" # Put any page you want to scrape
PAGES_NAMES = [
"python",
]
- main.py - adjust main() as you want, how many pages you would like to scrape & so on. parse_request(name, 1, []) as it goes
- python.csv - example of the web-scraper results you should get.