I need to make a series of YouTube playlists that categorises every NoCopyrightSounds release, including old and removed ones, by genre.
Luckily, this doesn't have to be manual. The fandom wiki for NoCopyrightSounds has a page for every confirmed song and categorises them by genre.
To accomplish my goal, I need multiple steps.
Step 1. Compile Info
I need a program that can scrape these pages:
https://nocopyrightsounds.fandom.com/wiki/Category:NoCopyrightSounds_songs
https://nocopyrightsounds.fandom.com/wiki/Category:NCS_Arcade_songs
https://nocopyrightsounds.fandom.com/wiki/List_of_NCS_SoundCloud_promotions_by_date
The SoundCloud promotions is messier because it is not a category page. It contains a table with the artists name first, the song name second, the release date third, and proof of the promotion last.
The artists name table contains an emoji that categorises the promotion further - we're looking to search the songs where the artist name has a 🟡 emoji next to it, which means "Deleted SoundCloud Exclusive release". Keep in mind that this emoji is used in the artists name box in the table, and so, to enter the song's page, you'd have to click the hyperlink on the second box, which would be the song name.
All of the pages in the first two links should be scraped for a YouTube or YouTube Music link and sorted by release date, alongside the SoundCloud releases page. All of this will be put in a CSV file. If there is no YouTube link, the song will still be entered, but with no link. Only links from info boxes should be scraped.
Since the SoundCloud pages won't have YouTube links, they'll be in the text file with no link for me to find remakes of on YouTube.
Now, with the full txt file with every artist name (in the info box), song name (the title of the page), release date (info box), YouTube link (info box or self added), the wiki page link itself, and the community genres and subgenres of the song (info box), the next step starts.

Step 2.
Another program should place all of these songs in their corresponding genre playlists by date. Some will be put in several playlists. There are some instances where subgenres don't apply. For example, drumstep (genre) and melodic drumstep (subgenre) would normally be put in the same playlist, but I need logic that puts non-melodic drumstep in its own playlist as well, rather than always together with the melodic drumstep.
.
Step 3.
Opinions change and new songs release over time, so there needs to be a script that handles updating. Rescraping all of the Fandom pages to note any genre changes and add in the new songs and their details (this excludes SoundCloud promotions which are now defunct, thankfully). The script should then automatically move the songs that need be moved, placing them in the appropriate, release date accurate spot, also adding in the new releases.

Here's an entire song page for reference. They all have the same structure. Sometimes, multiple genres are placed in one spot, separated with a |. Only the community genres and community subgenres matter.

{{Infobox song
|Image              = Back On Dash.jpg
|Artist             = [[DJVI]]
|Remix              = 
|Featuring          = 
|Uncredited         = 
|Album              = 
|Brand              = NoCopyrightSounds
|Released           = November 8, 2024
|Genre              = {{Subgenre|House|Progressive House}}
|Community Genre    = {{Genre|House|verified}}
|Subgenre(s)        = {{Subgenre|House|Commercial House}}
|Mood(s)            = *{{Mood|Energetic}}
*{{Mood|Exciting}}
*{{Mood|Positive}} 
|Length             = 3:06
|Catalog Number     = N/A
|BPM                = 138
|Key                = G minor
|Background         = Back on Dash BG
|Amazon Music       = B0DKLDYDXS
|Anghami            = 1182859030
|Apple Music        = 1775735684?i=1775735686
|Beatport           = 
|Deezer             = track/3057282571
|NCS                = backondash
|Pandora            = djvi/back-on-dash/ALZ2rtrPPpthbv6
|SoundCloud         = nocopyrightsounds/djvi-back-on-dash-geometry-dash
|Spotify            = track/66i7MyCc1Tq4iGZxxHOCej
|Tidal              = 395013787
|YouTube            = VDbVXpJWA-k
|YouTube Music      = RYdNsUZ9LyI
}}'''Back on Dash''' is a song by [[DJVI]] released on November 8, 2024. It was uploaded by NCS on YouTube on November 9, 2024.

==Trivia==
*This track is the third part of DJVI's original track, [https://www.youtube.com/watch?v=N9vDTYZpqXM Back On Track].
*The circle visualizer switches over to a square visulizer between 0:14 and 1:15 of the YouTube upload.
**This is the first upload to feature a rounded square visualizer.
{{DJVI}}
{{2024}}
[[Category:Commercial House music]]