main
This frame work is designed to retrieve data from different websites with different structure. currently: level #1 of abstraction is done by implementing a config file which stores all the xpath of different fields of the 3 provided websitel inks level #2 of abstraction is done by implementing a test conditional based on the website's type (js-based or not)
############################################################################################################################
step 1
- open projectlinks directory
- edit the links_config.ini
- open links_extractor.py -> url = config['example']['start-url'] (and other relevent fields)
- once you entered the configured data, links_extractor file will extract the project links by handeling pagination and saves them in project_links_ProjectName.json
step 2
- to determine wheather we need scrapy or delenium to scrape data from project links, I passed the first link stored in project_links_ProjectName.json to selenium_or_scrapy.py
- this file goes through html markup and searches for
Languages
Python
100%