mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
Set explore and discovery item as non-capture group
Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
This commit is contained in:
parent
c13574ea8a
commit
1aab655030
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from ..utils.traversal import traverse_obj
|
|||
|
||||
|
||||
class XiaoHongShuIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://www\.xiaohongshu\.com/(explore|discovery/item)/(?P<id>[\da-f]+)'
|
||||
_VALID_URL = r'https?://www\.xiaohongshu\.com/(?:explore|discovery/item)/(?P<id>[\da-f]+)'
|
||||
IE_DESC = '小红书'
|
||||
_TESTS = [{
|
||||
'url': 'https://www.xiaohongshu.com/explore/6411cf99000000001300b6d9',
|
||||
|
|
Loading…
Reference in a new issue