diff --git a/scrape.py b/scrape.py index 045aad6..f990b63 100755 --- a/scrape.py +++ b/scrape.py @@ -134,6 +134,10 @@ def Get_Tracks_Info(url, limit = 100): # Initialise a track object to hold our data track = Track() + # Ignore collections + if track_elem.find(class_='sound__trackList'): + continue + # Grab the title title_elem = track_elem.find(class_='soundTitle__title') if title_elem: