Commit Graph

659 Commits

Author SHA1 Message Date
Hellow2
513f021e66 Merge branch 'musify' into audio 2023-04-04 09:37:00 +02:00
Hellow
98fb2c7bf9 fixed crash on search 2023-04-03 19:59:31 +02:00
Hellow
9b9f3ec8f4 fixed real ugly bug 2023-04-03 18:09:05 +02:00
Hellow
7ace653921 Merge branch 'musify' into audio 2023-04-03 17:42:05 +02:00
Hellow
838c2b5875 modified musify 2023-04-03 17:41:52 +02:00
Hellow
255776a8fd Merge branch 'audio' of github.com:HeIIow2/music-downloader into audio 2023-04-03 16:46:13 +02:00
Hellow
072f220f1a Update actual_donwload.py 2023-04-03 16:46:00 +02:00
Hellow2
310bf3194d removed debug print 2023-04-03 16:24:45 +02:00
Hellow2
f58685af58 fixed really disgusting bug 2023-04-03 16:23:30 +02:00
Hellow2
a20f7ae59e stuff 2023-04-03 12:38:09 +02:00
Hellow2
77eef63fac fixed issue with crash on connection exception 2023-04-03 12:14:58 +02:00
Hellow2
041612e083 dsada 2023-04-03 11:47:51 +02:00
Hellow2
45b5f0875a fixed the download directory 2023-04-03 11:47:30 +02:00
Hellow2
c501461b1e escaping strings 2023-04-03 11:17:55 +02:00
Hellow2
66bd99b524 reformating 2023-04-03 10:39:16 +02:00
Hellow2
c05199d928 added better default targets 2023-04-03 10:38:12 +02:00
Hellow2
376bbf2fa2 Update search.py 2023-04-03 09:45:44 +02:00
Hellow2
bdf05adcb1 cleaned up download 2023-04-03 09:43:45 +02:00
Hellow2
37854e30e0 fixed bug in post request 2023-03-31 11:00:19 +02:00
Hellow2
be48707623 fixed bug in post request 2023-03-31 10:56:31 +02:00
Hellow2
3aa6faab51 finished makeshift downloader 2023-03-31 10:46:56 +02:00
Hellow2
5bf7392ab3 implemented downloading 2023-03-31 10:34:29 +02:00
Hellow2
094c4256d4 fixed issue with copy to 2023-03-31 09:54:31 +02:00
Hellow2
c93c469576 implemented stream 2023-03-31 09:47:03 +02:00
Hellow2
5067b84f48 changed the way stuff is downloaded 2023-03-30 16:50:27 +02:00
Hellow2
f8b3e57ade fixed bug 2023-03-30 16:10:48 +02:00
Hellow2
6f30ae6f92 adding post process fixing the tagging part 2023-03-30 15:58:29 +02:00
Hellow2
fab76fc165 completed more 2023-03-30 15:28:23 +02:00
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