This repo is a collection of all my small scripts.
The classic game of tic-tac-toe which keeps a tally of your scores over multiple games.Requires Python3.
Instructions:
Clone the file. Run python tic_tac_toe.py
or python3 tic_tac_toe.py
, whichever is applicable.
Downloads all songs listed in any supplied billboards url (top 100 by default), or all the songs listed in a file, in general.
Requirements:
Python
youtube-dl
Usage:
git clone https://github.com/hundredrab/spock42
python billboard_downloader/download.py {{ url or genre }}
{{ url or genre }}
may be any url of the billboards website listing top songs, or one genre among 'pop', 'country', 'rock', or 'indie'.
For downloading all the songs from a file-list, run:
python billboard_downloader/download.py file {{ filename }}
{{ filename }}
should contain the name of a file which contains list of songs to be downloaded, separated by newlines.
The songs will be downloaded in a music_new
directory, inside billboard_downloader/
. Once downloaded, songs will not be re-downloaded, even if deleted, unless names are cleared in downloaded.txt
. This allows users the freedom to move/delete music to another folder without going through the trouble of re-downloading.
Changes the artist, title, etc. Useful for songs downloaded using youtube-dl which do not have relevant metadata but contain verbose titles.
Usage