In this project, I scraped (https://gaana.com/) website songs List,here different type of Language song scrape. when you will run the program then it will be automate open the browser and autoplay the songs. and Songs images also scraped, You choose a songs language and Then he asks that you want to see the image of the song.
Beautiful Soup is a Python library for pulling data out of HTML and XML files. It works with your favorite parser to provide idiomatic ways of navigating, searching, and modifying the parse tree. It commonly saves programmers hours or days of work.
sudo apt-get update
sudo apt-get install python3-pip
pip3 install beautifulsoup4
Requests is an Apache2 Licensed HTTP library, written in Python. Requests will allow you to send HTTP/1.1 requests using Python. You can install requests library using following code in your terminal in Linux.
pip3 install requests
Tkinter is a Python binding to the Tk GUI toolkit. It is the standard Python interface to the Tk GUI toolkit, and is Python's de facto standard GUI. so we have to install Tkinter library using following code in your terminal in Linux.
sudo apt-get install python3-tk
ImageTk Module. The ImageTk module contains support to create and modify Tkinter BitmapImage and PhotoImage objects from PIL images. ... A Tkinter-compatible photo image. so we have to install imagetk following code in your terminal in Linux.
sudo apt-get install python-imaging python-pil.imagetk
sudo apt-get install python3-pil python3-pil.imagetk
If you want to run the code in Linux, open your terminal and type- python3 gaana.py