mirror of
https://github.com/beetbox/beets.git
synced 2026-01-09 17:33:51 +01:00
Revert to optional capturing group
This commit is contained in:
parent
a5fadf0dcc
commit
01e8643cec
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ class DeezerPlugin(MetadataSourcePlugin, BeetsPlugin):
|
|||
track_url = 'https://api.deezer.com/track/'
|
||||
|
||||
id_regex = {
|
||||
'pattern': r'(^|deezer\.com/)([a-z]*/)?({}/)([0-9]*)',
|
||||
'pattern': r'(^|deezer\.com/)(\w+/)?({}/)?(\d+)',
|
||||
'match_group': 4,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue