From 2e8ddbf422a3a6d75b1e1f73cad089111f801c05 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Tue, 24 Sep 2024 12:21:40 +0200 Subject: finished web scrapper --- scrap/structures.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 scrap/structures.py (limited to 'scrap/structures.py') 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 -- cgit v1.2.3