added the fetching of the sources from ma regarding artists

This commit is contained in:
Hellow2 2023-02-01 09:13:30 +01:00
parent f1e92a8464
commit c99434adc4

View File

@ -288,6 +288,12 @@ class EncyclopaediaMetallum(Page):
soup = BeautifulSoup(r.text, 'html.parser') soup = BeautifulSoup(r.text, 'html.parser')
artist_source = soup.find("div", {"id": "band_links_Official"}) artist_source = soup.find("div", {"id": "band_links_Official"})
"""
TODO
add a Label object to add the label sources from
TODO
maybe do merchandice stuff
"""
merchandice_source = soup.find("div", {"id": "band_links_Official_merchandise"}) merchandice_source = soup.find("div", {"id": "band_links_Official_merchandise"})
label_source = soup.find("div", {"id": "band_links_Labels"}) label_source = soup.find("div", {"id": "band_links_Labels"})