Commit Graph

681 Commits

Author SHA1 Message Date
Hellow2
fc98998cdb created important file system methods in the target classs 2023-03-30 14:59:53 +02:00
Hellow2
6d3c36e075 completed the downloading layout 2023-03-30 14:52:50 +02:00
Hellow2
b2e67fbd45 start laying out downloads 2023-03-30 14:39:28 +02:00
Hellow2
3f47f46153 implemented direct download in the cli 2023-03-30 12:43:43 +02:00
Hellow2
cc7eb41ac7 made the direct downloads work 2023-03-30 12:31:37 +02:00
Hellow2
79b2dc4394 implemented funtion in search 2023-03-30 12:23:57 +02:00
Hellow2
11974fd2eb implemented method to fetch stuff 2023-03-30 12:09:36 +02:00
Hellow2
21e81c82a3 added some url parsing 2023-03-30 12:00:39 +02:00
Hellow2
de2f326218 Update download.py 2023-03-30 11:38:59 +02:00
Hellow2
7e274bfbbe deleted pointless files 2023-03-30 10:55:01 +02:00
Hellow2
e146aec261 updated tests 2023-03-30 10:52:31 +02:00
Hellow2
658837850c moved cli to __init__.py 2023-03-30 10:49:17 +02:00
Hellow2
42d393389a removed annoying console output from collection.py 2023-03-30 10:42:33 +02:00
Hellow2
d158736c45 pixed bug regarding the maths of choosing one index 2023-03-30 10:34:17 +02:00
Hellow2
214b04d7cc implemented new cli 2023-03-30 10:07:42 +02:00
Hellow2
2b1b62f1dc added functionality and removed parsing in the thingie 2023-03-30 09:01:09 +02:00
Hellow
b40174fb97 Update actual_donwload.py 2023-03-29 20:56:57 +02:00
Hellow2
927c2766d7 added cli to __init__.py 2023-03-29 17:24:02 +02:00
Hellow2
ef41d8a72c last polish 2023-03-29 17:17:20 +02:00
Hellow2
fcee8c1f84 implemented the choosing of pages 2023-03-29 17:04:06 +02:00
Hellow2
f4047b91c1 defined shorthands 2023-03-29 15:22:18 +02:00
Hellow2
3238f944b3 implementedexample cli 2023-03-29 13:39:55 +02:00
Hellow2
c846f33082 added a way to input a query 2023-03-29 12:54:26 +02:00
Hellow2
8f8e7ecc15 fixed crash in musify scraper 2023-03-29 12:02:07 +02:00
Hellow2
82e3146780 made single page options extend 2023-03-29 12:00:40 +02:00
Hellow2
8c01ee4198 choose_single works 2023-03-29 11:53:55 +02:00
Hellow2
c4079efc4b Update search.py 2023-03-29 11:38:32 +02:00
Hellow2
eb133e802f download 2023-03-29 11:37:56 +02:00
Hellow2
0a23d6d27c Update search.py 2023-03-29 11:36:46 +02:00
Hellow2
e13b6e70c6 renamed 2023-03-29 11:35:25 +02:00
Hellow2
e73bd6434d implemented choose index 2023-03-29 11:34:58 +02:00
Hellow2
87f51d7a3a implemented the choose_page function 2023-03-29 09:53:08 +02:00
Hellow2
377f2cca8a started choose function 2023-03-29 09:50:06 +02:00
Hellow2
4dcb2fa643 reformat a bit 2023-03-29 09:44:25 +02:00
Hellow2
6c89aabbb5 added tests for page selection 2023-03-29 09:42:53 +02:00
Hellow
0a7dfeb5ea fixed rpr 2023-03-28 18:40:56 +02:00
Hellow
c67d8fba61 fixed type hinting 2023-03-28 18:38:45 +02:00
Hellow2
8b5d339fef counter + fixted __repr__ 2023-03-28 17:00:32 +02:00
Hellow2
28f56ac317 implemented the untested choose functions 2023-03-28 15:01:47 +02:00
Hellow2
bbb2f0831b continues writing the string formating of multi page options 2023-03-28 14:40:59 +02:00
Hellow2
3a842920e8 creating a multi page option class 2023-03-28 14:25:22 +02:00
Hellow2
855ca4b531 started implementing the multiple page search 2023-03-28 14:04:15 +02:00
Hellow2
7ceb9bb5fe added data fpr üages 2023-03-28 12:50:23 +02:00
Hellow2
35f3ed975f Update test_building_objects.py 2023-03-28 11:43:18 +02:00
Hellow2
42c2f73da8 added tests and fixed a bug 2023-03-28 11:34:45 +02:00
Hellow2
63a3dc00fd implemented the building/compiling of recursive structures 2023-03-28 10:45:41 +02:00
Hellow2
18bf066f77 laied out proper functions in the parent object 2023-03-28 09:21:41 +02:00
Hellow2
f4649cd3ac layed out tests, arent finished though 2023-03-28 09:18:42 +02:00
Hellow2
b07459ef6d Update metal_archives.py 2023-03-28 09:06:32 +02:00
Hellow2
5b313702f7 Update formatted_text.py 2023-03-28 08:58:30 +02:00
Hellow2
8045476dba added fetching of ma lyrics 2023-03-28 08:57:50 +02:00
Hellow2
34baf75d2e pretty much finished web scraping on metal archives besides lyrics 2023-03-28 08:27:21 +02:00
Hellow
ec9bbf15d3 continued refactoring and added fetching of discography again 2023-03-27 20:42:43 +02:00
Hellow
7ae7aa87fd fixed a bit of the scraping 2023-03-27 20:02:17 +02:00
Hellow
2bae6e1cbd fixed some bugs in the preset 2023-03-27 18:41:50 +02:00
Hellow
ac474c6079 used for a request the class method 2023-03-27 17:53:51 +02:00
Hellow
4e4e72104d improved run function 2023-03-27 17:48:06 +02:00
Hellow2
e973ac618d reverted previous changes because it was stupid 2023-03-27 16:30:12 +02:00
Hellow2
f5646276d4 layed out better methods for fetching data 2023-03-27 16:28:34 +02:00
Hellow2
2ff58d3a30 fixed faulty type hint and old function 2023-03-27 16:20:16 +02:00
Hellow
6b2d2e0bfc added some tests 2023-03-24 19:43:33 +01:00
Hellow
6d2a7469fc modified diagram 2023-03-24 19:07:37 +01:00
Hellow
7ee02440c8 removed redundant modules 2023-03-24 18:12:28 +01:00
Hellow
34465ce46e cleaned up 2023-03-24 18:09:53 +01:00
Hellow
267bf52847 fixed funny bug 2023-03-24 15:58:21 +01:00
Hellow2
5387301ed2 started fixing importand design flaw 2023-03-24 14:28:19 +01:00
Hellow2
e5e8812983 fixed tests, they pass now 2023-03-24 10:30:40 +01:00
James Clarke
2aa6e355e2 Merge branch 'master' of github.com:JamesClarke7283/music-downloader into unit_tests 2023-03-23 17:32:04 +00:00
James Clarke
012aac5b2c
Made unit tests 2023-03-23 17:30:06 +00:00
James Clarke
bf99d39b82
Merge branch 'HeIIow2:master' into master 2023-03-23 17:27:44 +00:00
Hellow2
5918147ff9 Update collection.py 2023-03-23 09:00:39 +01:00
Hellow2
1f0ae30f02 fixed disgusting bug 2023-03-22 12:58:11 +01:00
Hellow2
c648a330e0 ahhh fuck me :( 2023-03-21 12:46:32 +01:00
Hellow
0f47cdadb8 some more scraping 2023-03-20 23:11:55 +01:00
Hellow
6f7763ada5 sdfa 2023-03-20 22:27:05 +01:00
Hellow
f39c3c11ad layed out the complete fetching of album 2023-03-20 21:50:19 +01:00
Hellow2
96f2d7ef6e started fetching of album details 2023-03-20 17:03:14 +01:00
Hellow2
718c911c81 parsed names to fix a bug 2023-03-20 15:33:45 +01:00
Hellow2
dc6a176c24 fixed DISGUSTING bug 2023-03-20 14:40:32 +01:00
Hellow
1ae01ed1fd added wikipedia 2023-03-18 17:06:12 +01:00
Hellow
2724eb3e36 added fetching of linked sources to musify 2023-03-18 13:01:27 +01:00
Hellow
862c25dd35 refactored merging function to take default values other than None into account parents.py 2023-03-18 12:36:53 +01:00
Hellow
5bd9439104 fetching notes 2023-03-17 23:55:38 +01:00
Hellow
5d0f9814c8 finished fetching of artist details 2023-03-17 23:27:14 +01:00
Hellow
05c9610683 moved error handling of get and post request into abstract.py instead do it new in every function 2023-03-17 18:16:06 +01:00
Hellow
924bd01e1d finished fetching of discography 2023-03-17 13:58:58 +01:00
Hellow
a01ea0cfcd reformat 2023-03-17 13:11:18 +01:00
Hellow
a27c4e28c3 fixed docstring 2023-03-17 13:10:25 +01:00
Hellow2
bf04d5b8be Update musify.py 2023-03-17 12:39:19 +01:00
Hellow2
7b110983c2 musify 2023-03-17 12:31:56 +01:00
Hellow
c13031f9b3 laied out musify apis 2023-03-16 22:52:47 +01:00
Hellow2
137c69399c pretty much finished musify search 2023-03-16 16:57:43 +01:00
Hellow2
c43ff6df69 continued musify scraper 2023-03-16 14:36:49 +01:00
Hellow2
9c438588a5 df 2023-03-15 20:55:28 +01:00
Hellow2
03d78e5f98 Update musify.py 2023-03-14 14:58:54 +01:00
Hellow2
f3d9025d0b Update musify.py 2023-03-14 14:48:03 +01:00
Hellow2
4a199547de fixed 2023-03-14 13:36:05 +01:00
Hellow2
f858b97a17 made better 2023-03-14 12:02:58 +01:00
Hellow2
4056c736b9 made a function to compile 2023-03-14 11:03:54 +01:00
Hellow2
38142df92e Create musify.py 2023-03-13 15:47:38 +01:00
Hellow2
a7de1d2a68 fixed somethin 2023-03-13 14:47:49 +01:00
Hellow2
e445e7b5d1 options 2023-03-13 14:39:46 +01:00
Hellow2
292bdfd2fa attribute 2023-03-13 14:33:17 +01:00
Hellow2
25ddfc4997 Update source.py 2023-03-13 14:32:00 +01:00
Hellow2
8e6baef854 Update lyrics.py 2023-03-13 14:30:11 +01:00
Hellow2
a11a4ca4c2 Update formatted_text.py 2023-03-13 14:28:28 +01:00
James Clarke
2c6d751816
Fixed Album test case 2023-03-12 18:02:40 +00:00
James Clarke
4914386f3f
Added unit test cases 2023-03-12 17:07:22 +00:00
James Clarke
7a9dfad7f4
Added unit test for songs 2023-03-12 14:55:44 +00:00
James Clarke
b56dcc5953
Added basic pyproject.toml and started on unit tests 2023-03-12 14:16:44 +00:00
Hellow
4f8cd2f266 refactor 2023-03-11 13:36:08 +01:00
Hellow
18a5cc1a15 options work 2023-03-10 21:53:25 +01:00
Hellow
bc7279d85c typo 2023-03-10 21:33:49 +01:00
Hellow
f88cd061fe improved typing 2023-03-10 21:33:26 +01:00
Hellow
d8be349a40 implemented options 2023-03-10 21:28:13 +01:00
Hellow
76a91f57cb fixed appending 2023-03-10 18:38:32 +01:00
Hellow
3a7f3aee6e flow chart 2023-03-10 11:09:05 +01:00
Hellow
53f1254231 doesn't throw exceptions 2023-03-10 10:54:15 +01:00
Hellow
809ba07acc doesn't throw exceptions 2023-03-10 10:21:57 +01:00
Hellow2
635c8b87a4 fixed exceptions 2023-03-10 10:13:35 +01:00
Hellow2
0423cb3139 refactor 2023-03-10 09:09:35 +01:00
Hellow2
d6aed75fec daf 2023-03-10 08:42:10 +01:00
Hellow2
3b4fe88d42 source 2023-03-10 08:40:50 +01:00
Hellow2
dfe894a532 source attronites 2023-03-10 08:27:37 +01:00
Hellow2
fe36523caf refactored the collection attributes 2023-03-10 08:27:01 +01:00
Hellow
c01dfd00d9 refactorings 2023-03-09 22:14:39 +01:00
Hellow
38e7620fbd implemented
DatabaseObject.indexing_values
for each data objects
2023-03-09 20:52:15 +01:00
Hellow
b53548e321 implemented
DatabaseObject.indexing_values
for each data objects
2023-03-09 20:44:57 +01:00
Hellow
0ffb642ac7 implemented
DatabaseObject.indexing_values
for each data objects
2023-03-09 19:53:28 +01:00
Hellow
617ca1316a theoretically implemented append 2023-03-09 18:35:56 +01:00
Hellow2
b7bd9f6196 dsa 2023-03-09 18:19:49 +01:00
Hellow2
191febd794 cvyxv 2023-03-06 15:20:26 +01:00
Hellow
9eb7b66882 Update parents.py 2023-03-03 14:22:46 +01:00
Hellow
a95c83b01c Update collection.py 2023-03-03 12:39:43 +01:00
Hellow
7502a38b58 added merging 2023-03-03 12:32:08 +01:00
Hellow2
ebe3d9328c ölkjvy 2023-03-03 12:13:23 +01:00
Hellow2
160c5bbd66 Update source.py 2023-03-03 07:52:13 +01:00
Hellow2
3fba46428d worked on metal archives 2023-03-02 16:23:02 +01:00
Hellow2
4c041ef7ff tried fixing shit 2023-03-02 07:59:53 +01:00
Hellow
2df5fc7488 refactored and cleaned up data objects 2023-02-28 01:13:53 +01:00
Hellow2
fe86f8591d fixed stuff 2023-02-27 16:51:55 +01:00
Hellow
5f4912bda5 refactored and cleaned up data objects 2023-02-25 22:16:32 +01:00
Hellow
819111c53a refactored and cleaned up data objects 2023-02-23 23:52:41 +01:00
Hellow
20977c0208 added logo 2023-02-22 17:56:52 +01:00
Hellow
33b1efc2ed Update database.py 2023-02-19 23:36:04 +01:00
Hellow
87dcfdb54b finished writing to database 2023-02-19 23:35:52 +01:00
Hellow2
6531bf7022 Update write.py 2023-02-17 12:18:47 +01:00
Hellow
4e7fc5b9b3 a bit of refactoring and implemented some more scraping 2023-02-17 00:06:20 +01:00
Hellow2
019c24e059 eeeeeeeeeeee 2023-02-16 17:24:22 +01:00
Hellow2
a56233d5a6 started laying out read write operations 2023-02-15 16:23:22 +01:00
Hellow2
71e79faac4 modified data moddel, to support non static use of the model 2023-02-15 15:44:13 +01:00
Hellow2
4719f46c49 implemented the use function of the base model for multiple databases 2023-02-15 09:44:31 +01:00
Hellow
5a699c3937 STARTED IMPLEMENTING DB
STARTED IMPLEMENTING DB
2023-02-14 23:07:16 +01:00
Hellow
021f8a6905 Update song.py 2023-02-13 23:05:16 +01:00
Hellow
ec1dee1a0f Update database.py 2023-02-13 17:07:36 +01:00
Hellow
353cf22dfb Update object_cache.py
clean code
2023-02-13 16:45:12 +01:00
Hellow2
47bc91ff20 Create object_cache.py
this is a file/class where I can cache db obj

This is a cache for the objects, that et pulled out of the database.
This is necessary, to not have duplicate objects with the same id.

Using a cache that maps the ojects to their id has multiple benefits:
 - if you modify the object at any point, all objects with the same id get modified *(copy by reference)*
 - less ram usage
2023-02-13 15:41:51 +01:00
Hellow2
4ecdc6d419 refactored db objects 2023-02-10 13:52:18 +01:00
Hellow2
7b3f4a2b81 refactored 2023-02-09 15:49:22 +01:00
Hellow2
c3db4df70b rough implementation of start of cli 2023-02-09 15:05:49 +01:00
Hellow2
bf5d0458ca started cli 2023-02-09 09:40:57 +01:00
Hellow2
9efc806bec finished fetching of tracklist 2023-02-08 17:14:51 +01:00
Hellow2
42852fbd32 improved console stuff 2023-02-08 13:29:01 +01:00
Hellow2
1d64e5901d added playlist 2023-02-08 13:16:48 +01:00
Hellow2
bfefc9aaf1 hs 2023-02-07 19:26:14 +01:00
Hellow2
ece7ffa5db hs 2023-02-07 13:32:49 +01:00
Hellow
ec9bb69069 a bit of refactoring and implemented some more scraping 2023-02-06 23:47:13 +01:00
Hellow2
8362e2d5eb hs 2023-02-06 15:06:38 +01:00
Hellow2
5b25aa2cc1 added contributing info 2023-02-06 09:44:11 +01:00
Hellow2
bbf7181b13 added artist notes 2023-02-06 09:16:28 +01:00
Hellow2
7d570038b3 implemented a class for formatted text. It can return text in markdown, html and plantext, and convert between those. 2023-02-03 16:33:22 +01:00
Hellow2
bc091807fb hs 2023-02-03 15:21:59 +01:00
Hellow
e1293a4557 made obvious which files are used, and which aren't 2023-02-01 16:19:17 +01:00
Hellow2
611fbe575d yee 2023-02-01 14:26:54 +01:00
Hellow2
18eef1234d parsed attributes 2023-02-01 13:18:09 +01:00
Hellow2
575629a531 ma easy attributes 2023-02-01 09:41:25 +01:00
Hellow2
a02fea32fc started implementing simple attributes 2023-02-01 09:18:06 +01:00
Hellow2
c99434adc4 added the fetching of the sources from ma regarding artists 2023-02-01 09:13:30 +01:00
Hellow2
f1e92a8464 added the fetching of the sources from ma regarding artists 2023-02-01 09:10:05 +01:00
Hellow
e48285c3b0 started implementation of fetching from ma artis sources 2023-02-01 00:07:13 +01:00
Hellow2
dde8271707 renamed a var to follow more the python defaults 2023-01-31 13:28:27 +01:00
Hellow2
911ae0c25a finished fetching of discography and merging those 2023-01-31 13:27:28 +01:00
Hellow2
2e6c58255c fixed mutable argument bug in the source dict of SourceAttribute 2023-01-31 13:18:52 +01:00
Hellow2
ae9a70fb04 fixed issue with date formats and the database 2023-01-31 09:53:05 +01:00
Hellow
65ccdee2cb yes 2023-01-30 23:54:21 +01:00
Hellow
06cc826a21 finished database integration and simmilar 2023-01-30 18:27:49 +01:00
Lars Noack
3ddddf2f5f hs 2023-01-30 17:07:26 +01:00
Lars Noack
bfcec43433 addepted the database binding tp the changes to the structure 2023-01-30 16:35:29 +01:00
Lars Noack
b46b9f5149 added stuff 2023-01-30 15:57:01 +01:00
Lars Noack
39404dbbed finished refactoring metadata 2023-01-30 15:12:30 +01:00
Lars Noack
fb8a89dbbd finished refactoring metadata 2023-01-30 14:41:02 +01:00
Lars Noack
bc69cac27c metadata 2023-01-27 12:56:59 +01:00
Lars Noack
4abb17ca8e source 2023-01-25 14:14:15 +01:00
Lars Noack
b7cce0aef9 continued 2023-01-24 18:15:07 +01:00
Lars Noack
c1dbb62eed dasf 2023-01-24 14:37:37 +01:00
Lars Noack
c7811e9ae5 finished search of metal encyclopedia 2023-01-24 14:29:23 +01:00
Lars Noack
081a57360f metal enzyclopedie 2023-01-24 12:09:47 +01:00
Lars Noack
3957dc4088 continued ma 2023-01-24 10:51:41 +01:00
Lars Noack
5545d1190a started ma 2023-01-24 09:40:01 +01:00
Hellow
b17d039fb6 asddasd 2023-01-24 00:16:10 +01:00
Lars Noack
c28abdd999 started new documentation 2023-01-23 16:57:00 +01:00
Lars Noack
6b496971c9 implemented abstract class 2023-01-23 15:52:50 +01:00
Lars Noack
68031b9cdd layed out the page structure 2023-01-23 14:53:35 +01:00
Lars Noack
e51d4ca467 added Source objects to album 2023-01-23 13:49:07 +01:00
Hellow
cb5b1b1fcc added source to artist 2023-01-20 23:05:15 +01:00
Lars Noack
d1af921157 added source attribute to artist 2023-01-20 11:43:35 +01:00
Lars Noack
412dbad18b added artist attribute 2023-01-20 11:01:18 +01:00
Lars Noack
4b4a3e8fc3 added type to src 2023-01-20 10:56:40 +01:00
Lars Noack
a876ebc708 dafsdjl 2023-01-17 18:07:06 +01:00
Lars Noack
be44d35fab afsdfd 2023-01-16 16:19:48 +01:00
Lars Noack
46f01032f5 daffasf 2023-01-16 15:37:04 +01:00
Lars Noack
48b1ab9288 added genre 2023-01-16 14:31:43 +01:00
Lars Noack
7817402a19 fixed metadata 2023-01-16 14:23:33 +01:00
Lars Noack
28be65df85 crime 2023-01-16 12:57:04 +01:00
Lars Noack
fda000646d date support 2023-01-16 12:26:56 +01:00
Hellow
cf300a2a91 fuck u 2023-01-14 14:41:40 +01:00
Hellow
54a4be29ea fixed readme + id3 timestamps 2023-01-13 14:37:15 +01:00
Lars Noack
8a7335c741 das 2023-01-13 12:05:44 +01:00
Lars Noack
df749118d7 dfsa 2023-01-13 09:44:57 +01:00
Hellow
ffcd626e5e dafdsf 2023-01-13 00:32:35 +01:00
Hellow
f7ee24b3a9 asfd 2023-01-12 23:01:19 +01:00
Hellow
25eea44d08 commit 2023-01-12 19:55:24 +01:00
Lars Noack
a00cbb0d0c dfsa 2023-01-12 17:14:21 +01:00
Lars Noack
133e360562 dasfh 2023-01-12 16:25:50 +01:00
Lars Noack
b6a8966503 am 2023-01-11 16:30:53 +01:00
Lars Noack
013e3dccfd fixed DISGUSTING bug 2023-01-11 15:28:22 +01:00
Hellow
07f18c9efa fdasf 2023-01-11 02:25:17 +01:00
Hellow
0ca8adac6f yaaay 2023-01-10 19:21:11 +01:00
Lars Noack
581a68cf46 started metadata 2023-01-10 18:52:47 +01:00
Lars Noack
21fca274f8 moved stuff around 2023-01-09 14:56:15 +01:00
Lars Noack
cc77d3ec25 dfa 2023-01-09 14:53:25 +01:00
Lars Noack
6180e44670 layed the basis for id3 tagging 2023-01-09 14:50:06 +01:00
Lars Noack
a8bf1ad921 added mapping enum 2023-01-09 14:21:49 +01:00
Lars Noack
6cbb90375a decided on id3 2023-01-09 11:36:58 +01:00
Hellow
b51904d438 finished???? 2022-12-16 18:26:05 +01:00
Hellow
23b3ab0101 afsafdf 2022-12-16 16:59:21 +01:00
Lars Noack
0c2b604b92 dsfjsd 2022-12-16 12:53:05 +01:00
Lars Noack
933eddeea4 fafhhjsdajhfg 2022-12-13 16:58:22 +01:00
Lars Noack
0fe7c70f21 refa 2022-12-13 11:16:19 +01:00
Hellow
2392336e0a Merge branch 'master' of github.com:HeIIow2/music-downloader
merge
2022-12-12 19:30:33 +01:00
Hellow
070b6fef43 sffkldöföajd 2022-12-12 19:30:18 +01:00
Lars Noack
dee7f9f152 afdfa 2022-12-12 15:40:41 +01:00
Hellow
9d43dfd129 polished the song and db oject 2022-12-09 18:24:58 +01:00
Lars Noack
eb42920488 fucking finally 2022-12-09 15:50:44 +01:00
Hellow
5d5bdb3343 semi completed pull function for album 2022-12-08 09:28:28 +01:00
Lars Noack
265f7228bc started fetching of album 2022-12-08 09:10:26 +01:00
Lars Noack
cd89523ee0 continued the database 2022-12-07 15:51:38 +01:00
Hellow
7d21cb727e added lyrics to object thingie 2022-12-07 00:02:28 +01:00
Hellow
4b60ed7555 much progress on new db integration 2022-12-06 23:44:42 +01:00
Lars Noack
cbb56499bf fda 2022-12-06 17:55:07 +01:00