Skip to content

Simple tproger.ru articles web-scraper (request + bs4 + csv)

Notifications You must be signed in to change notification settings

serverum/tproger-web-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tproger-web-scraper

Simple tproger.ru articles web-scraper (request + bs + csv)

Usage of the web scraper

  1. 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", 
] 
  1. main.py - adjust main() as you want, how many pages you would like to scrape & so on. parse_request(name, 1, []) as it goes
  2. python.csv - example of the web-scraper results you should get.

About

Simple tproger.ru articles web-scraper (request + bs4 + csv)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages