1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-13 21:05:39 +00:00

Fix uploader regex

This commit is contained in:
DarkFighterLuke 2022-02-26 16:22:33 +01:00
parent 441bafa2d1
commit 072873437c

View file

@ -79,7 +79,7 @@ class XNXXIE(InfoExtractor):
tags = self._search_regex(r'<meta name="keywords" content="porn,porn movies,free porn,free porn movies,sex,porno,free sex,tube porn,tube,videos,full porn,xxnx,xnxxx,xxx,pussy,(?P<tags>.+?)"', webpage, 'tags', group='tags', default='').split(',')
uploader_data = re.findall(r'<a class="gold-plate" href="(?P<uploader_url>.+?)">(?P<uploader_name>.+?)</a>', webpage)
uploader_data = re.findall(r'<a class=".+?-plate" href="(?P<uploader_url>.+?)">(?P<uploader_name>.+?)</a>', webpage)
uploader_id = ''
uploader_url = ''
if uploader_data is not None: