Vous êtes sur la page 1sur 2

Brandon Sage - bsage@scu.

edu

Here are the instructions to run my code that will show you the venues that a particular
electronic artist has played at in a particular city in the United States.

*Note: A majority of the artists from the website I used (Resident Advisor) are not
mainstream. The website also only has information on certain electronic artists. Another
thing to note is that most of the artists have only played in the biggest cities in the U.S.
(if they have even played in the U.S. at all).

Link to a list of the top 1000 artists you can find information on:
https://www.residentadvisor.net/dj.aspx

Path to find the complete list of venues:


Click the artist -> event -> USA

The Zip file contains 2 .py files:


1. The Final_Project.py contains the code that collects the user input and scrapes the
website for the information

2. The Final_Project_GUI.py contains the code that runs the GUI. After you run the
code, a window will open for you to input an artist and a city. After clicking search, it will
either take a few seconds to load a new window that will contain the venue(s) or it will
say that no venue could be found.

*In addition to my original plan, I attempted to add a buttons for the first two links that
the website has under the link for the venue name. This is usually the website to the
venue and the google maps link. Sometimes the website only has one of the two or
nothing besides the name of the venue. The buttons sometimes get mixed up and I did
not have time to figure out how to get this running properly. I still included it because I
spent a lot of time on it and almost got it working even though it is not perfect.

User input details:


Artist Name:
• The program will only accept an electronic artist from the website
• if the artist is not available or spelled wrong you will see a pop up that says “No
venue found for (artist inputed)”
• the program should accept any format for the artist as long as it is spelled
correctly (i.e. upper/lower case, random spaces)
City in the United States:
• the casing for the city name should not matter (ie upper/lower case).
• The city name needs to have correct spelling and spacing for it to work properly
• if it is spelled wrong or there is extra spaces, there will be the same pop up that
says “No venue found for (artist inputed)”
⁃ The same pop up will come up if the artist has never played in that city
(according to Resident Advisor)

New Concepts:
Web scraping: I was able to learn the basics of web scraping from the tutorial we did
in class and then I had to look up many different instructional articles and videos to
teach myself how to scrape a website for one specific aspect that would change
depending on the user input.

GUI (Extra Credit): I wrote the code for a graphic user interface that will allow the user
to run the code in a cleaner and more user friendly way. I had to look online for many
different tutorials to teach myself how to make a GUI.

Vous aimerez peut-être aussi