This project is a tool for parsing currency exchange rate data and a list of the top 100 movies from websites.
You can quickly obtain the required data. The modules are also easily integratable into any service.
- Open the Top 100 Movies page.
- Extract the list of movies.
- Display the list of movies in the terminal, one per line.
- Open the Currency Rates page.
- Extract the table with data on the ruble-to-dollar exchange rate.
- Display the last 40 dates, ruble-to-dollar exchange rate, and price changes in the terminal.
- Open the Currency Rates page.
- Extract the table with data on the ruble-to-dollar exchange rate.
- Create a graph depicting the ruble-to-dollar exchange rate changes over the last 40 days.
To run the parsing and view the results, follow these steps:
-
Install the dependencies from the
requirements.txt
file:pip install -r requirements.txt
-
To parse the list of movies, execute:
python parser_films.py
-
For parsing the ruble-to-dollar exchange rate and displaying data in the terminal:
python parser_usd_cli.py
-
To create a graph of the ruble-to-dollar exchange rate, execute:
python parser_usd_plotlib.py
- Citizen Kane (1941)
- Casablanca (1942)
- The Godfather (1972) ...
Дата Курс рубля к доллару Изменение
20.07.2023 91.2046 +0.514
21.07.2023 90.8545 −0.3501
22.07.2023 90.3846 −0.4699
Name: Emin
Last: Bagirov
GitHub: @bagirov3min
Email: bagirov3min@gmail.com
Telegram: @Emin_pro