diff options
author | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2024-09-24 12:21:40 +0200 |
---|---|---|
committer | niliara-edu <nil.jimeno@estudiant.fjaverianas.com> | 2024-09-24 12:21:40 +0200 |
commit | 2e8ddbf422a3a6d75b1e1f73cad089111f801c05 (patch) | |
tree | a3b2c7ea8560fcbc89fb9b3ee15933d434b1ff51 /scrap/structures.py | |
parent | faa13839f898c60ff5618be6e916ad2e60958468 (diff) |
finished web scrapper
Diffstat (limited to 'scrap/structures.py')
-rw-r--r-- | scrap/structures.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scrap/structures.py b/scrap/structures.py new file mode 100644 index 0000000..b139489 --- /dev/null +++ b/scrap/structures.py @@ -0,0 +1,12 @@ +class song: + def __init__(self, name, lyrics): + self.name = name + self.lyrics = lyrics + + +class album: + def __init__(self, name, cover, songs, artist_id): + self.name = name + self.cover = cover + self.songs = songs + self.artist = artist_id |