1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 17:08:32 +00:00

tnaflix: add br

this link works now

https://morigin.tnaflix.com/br/blonde-porn/Blonde-teen-lesbian-foot-sex/video7100891
This commit is contained in:
John Sebastian Peterson 2025-06-19 12:39:28 +03:00
parent 73bf102116
commit 893fc61cd2

View File

@ -221,7 +221,8 @@ class TNAEMPFlixBaseIE(TNAFlixNetworkBaseIE):
class TNAFlixIE(TNAEMPFlixBaseIE):
_VALID_URL = r'https?://(?:www\.)?(?P<host>tnaflix)\.com/[^/]+/(?P<display_id>[^/]+)/video(?P<id>\d+)'
# to-do add more languages
_VALID_URL = r'https?://(?:www\.)?(?P<host>tnaflix)\.com/(?:(?P<language>br)/)?[^/]+/(?P<display_id>[^/]+)/video(?P<id>\d+)'
_TITLE_REGEX = r'<title>(.+?) - (?:TNAFlix Porn Videos|TNAFlix\.com)</title>'