Commit Graph

16 Commits

Author SHA1 Message Date
Joshua Boniface 61b4d0e429 Add support for filtering on instrument parts 2023-04-07 14:13:12 -04:00
Joshua Boniface cb1a5c5d58 Add instrument entries to database 2023-04-07 04:15:54 -04:00
Joshua Boniface 083ff1884b Add search command 2023-04-07 02:52:59 -04:00
Joshua Boniface 95c6a6bac4 Use fuzzier matching for filters
Lowercase to avoid capitalization issues.
2023-04-07 02:02:41 -04:00
Joshua Boniface 402d88fcec Fix bad variable override 2023-04-06 22:20:50 -04:00
Joshua Boniface ef66420f4e Adjust default structure again 2023-04-06 20:14:24 -04:00
Joshua Boniface a766f2a61f Add linting/formatting and convert to module 2023-04-06 19:33:52 -04:00
Joshua Boniface ca36555e6b Ensure basic HTML parsing is in retry block 2023-04-06 12:54:10 -04:00
Joshua Boniface 6ec8923336 Improve download link handling
The previous method relied on the main "download link" in the list page.
But this link was broken a solid 1/4 of the time, and far more often for
some artists.

Instead, during DB build, grab and parse each actual song page too, and
grab from it all possible download links. Use a ThreadPoolExecutor to do
this in a reasonable amount of time (default of 10 workers, but user
configurable).

Then when downloading, iterate over all download links, or provide some
user options for filtering these by ID or description.
2023-04-06 02:56:12 -04:00
Joshua Boniface 3a0ef3dcc6 Fix bad ref to variable 2023-04-05 00:09:55 -04:00
Joshua Boniface 8365ed51a6 Lower to 3 attempts 2023-04-03 04:59:03 -04:00
Joshua Boniface f3b4119e1a Ensure empty fields are filled 2023-04-03 04:55:46 -04:00
Joshua Boniface 2d82329e4f Create directory only after download is ready
Avoid creating junky empty dirs on failed downloads
2023-04-03 04:52:23 -04:00
Joshua Boniface a9f54b8f42 Alter default structure to focus author 2023-04-03 04:39:04 -04:00
Joshua Boniface 765bedeb50 Add gitignore 2023-04-02 15:14:28 -04:00
Joshua Boniface cdc67eb114 Add c2dbdl script 2023-04-02 15:14:13 -04:00