This code was written while I was abroad studying in Germany for my exchange program. It was my first contact with web scraping with Python.
- python3
- requests →
pip install requests
- BeautifulSoup →
pip install beautifulsoup4
- WxPython →
pip install wxPython
- json_fix →
pip install json-fix
- selenium →
pip install selenium
In order to run the scrapping algorithm firstly check if the classes are updated with the IMDB webpage as they tend to change codes in it, the most likely to be changed have a line of commentary saying that they could change on the line before it. After that run python3 Scrapping.py
on the terminal, which after some time will result in a file named data.json
.
In order to run the Interface run python3 main.py
on the terminal.
Do not try to scroll with your mouse or touchpad, use the lateral bar of the program as for some unknow reason it seems as the scrolling function is faulty.