- Scrapy - Installation
- Python 2.7
- MySQL
- The connection of MySQL database requires authorization of localhost
mydb = mysql.connector.connect(
host="localhost",
user="root",
passwd="test",
database="mydatabase"
)
- In case they are not same then either
- change them according to the code above
- change the above code in the file according to your system
- To run the medium scrapper use
python main.py
- Primathon_Medium_Spider.py - The code for scrapping is coded in this file