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

https://github.com/danchik12/habr_scraping

Parsing Habr articles and saving in csv format
https://github.com/danchik12/habr_scraping

csv fake-useragent numpy pandas parser python3

Last synced: 2 months ago
JSON representation

Parsing Habr articles and saving in csv format

Awesome Lists containing this project

README

          


# English! #
The script collects articles from Habr and saves them in the data.csv file.
I used the requests library built in Python to send the request and receive the response.
Python 3.9
* [documentation requests](https://2.python-requests.org/en/master/)
* [documentation BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)

Run parser.py and wait

`python parser.py`
***
Result:

[image](https://user-images.githubusercontent.com/76254668/128637380-4b716a81-52ea-4614-8faf-2c2c05415822.png)


# Русский! #
Скрипт собирате статьи из Habr и сохраняет в файле data.csv.
Для отправки запроса и получения ответа я использовал библиотеку requests,встроенную в Python.
Python 3.9
* [документация requests](https://2.python-requests.org/en/master/)
* [документация BeautifulSoup](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)

Запустите parser.py и ждите

`python parser.py`
***
Результат:

[изображение](https://user-images.githubusercontent.com/76254668/128637380-4b716a81-52ea-4614-8faf-2c2c05415822.png)