mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
Optional capturing groups
This commit is contained in:
parent
bdb7565500
commit
0a700c75a2
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class DeezerPlugin(APIAutotaggerPlugin, BeetsPlugin):
|
|||
track_url = 'https://api.deezer.com/track/'
|
||||
|
||||
id_regex = {
|
||||
'pattern': r'(^|deezer\.com/)([a-z]*/)?({}/)([0-9]*)',
|
||||
'pattern': r'(^|deezer\.com/)?([a-z]*/)?({}/)?([0-9]*)',
|
||||
'match_group': 4,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue