Set explore and discovery item as non-capture group

Co-authored-by: N/Ame <173015200+grqz@users.noreply.github.com>
pull/11806/head
HobbyistDev 4 weeks ago committed by GitHub
parent c13574ea8a
commit 1aab655030
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save