There are no specific requirements to run and explore this project. Python 3.8.10 and current versions (as of 29/07/2021) of the following libraries were used:
- requests
- BeautifulSoup
- time
- pandas
- json
Using web scraping I wanted to extract information form different websites using two main approaches:
- Using BeautifulSoup through inspection of page's source code (websites used: https://habr.com/ru/all/ and https://www.avast.com/hackcheck/).
- Using API (https://vk.com/)
There is 1 notebook available above which explores the above mentioned web scraping techniques. There is also a file that contains token for vk API, though for security reasons it is not included on github and has to be created separately if anyone wishes to run the API part of the notebook.
All findings are presented within the notebook for better visibility and context. It is worth mentioning that https://www.avast.com/hackcheck uses a hidden API which is used to check email for hacks and not its own database.
Credit goes to https://habr.com/ru/all/ and https://www.avast.com/hackcheck for not making it impossible to use web scraping on their websites. Also, to https://vk.com/ for providing free access to their API. Feel free to download or fork the code and explore it in any way you would like.# web_scraping_beautifulsoup_api_vk