Skip to content

Commit

Permalink
[ie/Piapro] Improve _VALID_URL (yt-dlp#8999)
Browse files Browse the repository at this point in the history
Authored by: FinnRG
  • Loading branch information
FinnRG authored and aalsuwaidi committed Apr 21, 2024
1 parent 4efd1d2 commit e464b57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yt_dlp/extractor/piapro.py
Expand Up @@ -12,7 +12,7 @@

class PiaproIE(InfoExtractor):
_NETRC_MACHINE = 'piapro'
_VALID_URL = r'https?://piapro\.jp/(?:t|content)/(?P<id>\w+)/?'
_VALID_URL = r'https?://piapro\.jp/(?:t|content)/(?P<id>[\w-]+)/?'
_TESTS = [{
'url': 'https://piapro.jp/t/NXYR',
'md5': 'f7c0f760913fb1d44a1c45a4af793909',
Expand Down Expand Up @@ -49,6 +49,9 @@ class PiaproIE(InfoExtractor):
}, {
'url': 'https://piapro.jp/content/hcw0z3a169wtemz6',
'only_matching': True
}, {
'url': 'https://piapro.jp/t/-SO-',
'only_matching': True
}]

_login_status = False
Expand Down

0 comments on commit e464b57

Please sign in to comment.