Write a news parser from the website ByBit:
https://announcements.bybit.com/en-US/?category=&page=1
- Execute JS.
- Request fresh data 1 time per second (bypass possible CDN blocking and caching).
If there is a new news item, then save the exact time of its appearance, the title and the link to it in the format.csv
The new data is saved in the file new_data.csv
. Located at parser-by-bit/tests/fixtures/new_data.csv
.
- Python.
- Pip.
- Poetry.
- Download the project.
- Go to the root directory of the project.
- Log in to the virtual environment poetry by the command
poetry shell
. - Install the required packages with the command
make install
. - Run the file '''main.py'''. Located at '''parser-by-bit/parse/main.py'''.