An open API service indexing awesome lists of open source software.

https://github.com/bacdong/web-crawler

Crawler website with requests library in python
https://github.com/bacdong/web-crawler

crawler-python python python-library python-requests python-spider python3

Last synced: 4 months ago
JSON representation

Crawler website with requests library in python

Awesome Lists containing this project

README

          

### Web Crawler with requests and beautifulsoup4(bs4) library in python ###

#### Installing for Development: ####
* IDE:
```
- Download python (https://www.python.org/downloads/)
- Install IDE support compile Python: VSCode, Pycharm, Sublime Text, ...
```
* Extension for IDE:
```
+ For VSCode, you need install some extension to support code python:
. HTML CSS Support
. Python
. Remote Development
+ For IDE different: Search more information on google
```
* To run:
```
- OPEN TERMINAL:
+ cd crawler
+ pip install requests // (pip3 install requests)
+ pip install beautifulsoup4 // (pip3 install beautifullsoup4)
- OPEN getData.py file:
( * If you no need save data into database:
. Comment some function use to connect database: Eg. insertData..(),...
. No need to worry about connecting and dealing with databases.
)
- Replace current available "url" variable in file with the one url address you want.

- Reopen terminal and run with: python getData.py
```