made the referer in sources more concistent

This commit is contained in:
Hellow2
2023-04-18 13:35:00 +02:00
parent ef08dca088
commit 58c58b2141
3 changed files with 15 additions and 15 deletions

View File

@@ -285,7 +285,7 @@ class EncyclopaediaMetallum(Page):
if url is None:
continue
source_list.append(Source.match_url(url))
source_list.append(Source.match_url(url, referer_page=cls.SOURCE_TYPE))
return source_list

View File

@@ -681,7 +681,7 @@ class Musify(Page):
href = additional_source.get("href")
if href is None:
continue
new_src = Source.match_url(href)
new_src = Source.match_url(href, referer_page=cls.SOURCE_TYPE)
if new_src is None:
continue
source_list.append(new_src)