fix discogs locale
This commit is contained in:
parent
e34fed2c1d
commit
7a00159e69
2 changed files with 5 additions and 2 deletions
|
@ -90,7 +90,10 @@ class DiscogsRelease(AbstractSite):
|
|||
class DiscogsMaster(AbstractSite):
|
||||
SITE_NAME = SiteName.Discogs
|
||||
ID_TYPE = IdType.Discogs_Master
|
||||
URL_PATTERNS = [r"https://www\.discogs\.com/master/(\d+)[^\d]*"]
|
||||
URL_PATTERNS = [
|
||||
r"^https://www\.discogs\.com/master/(\d+)[^\d]*",
|
||||
r"^https://www\.discogs\.com/[\w\-]+/master/(\d+)[^\d]*",
|
||||
]
|
||||
WIKI_PROPERTY_ID = "?"
|
||||
DEFAULT_MODEL = Album
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ class Spotify(AbstractSite):
|
|||
ID_TYPE = IdType.Spotify_Album
|
||||
URL_PATTERNS = [
|
||||
r"^\w+://open\.spotify\.com/album/([a-zA-Z0-9]+).*",
|
||||
r"^\w+://open\.spotify\.com/[\w-]+/album/([a-zA-Z0-9]+).*",
|
||||
r"^\w+://open\.spotify\.com/[\w\-]+/album/([a-zA-Z0-9]+).*",
|
||||
]
|
||||
WIKI_PROPERTY_ID = "?"
|
||||
DEFAULT_MODEL = Album
|
||||
|
|
Loading…
Add table
Reference in a new issue