class NubilesPornIE(InfoExtractor):
_NETRC_MACHINE = 'nubiles-porn'
_VALID_URL = r'''(?x)
- https://members.nubiles-porn.com/video/watch/(?P<id>\d+)
+ https://members\.nubiles-porn\.com/video/watch/(?P<id>\d+)
(?:/(?P<display_id>[\w\-]+-s(?P<season>\d+)e(?P<episode>\d+)))?
'''
'season': 'Season 3',
'season_number': 3,
'episode': 'Episode 1',
- 'episode_number': 1
- }
+ 'episode_number': 1,
+ },
}]
def _perform_login(self, username, password):
'series': channel_name,
'series_id': channel_id,
'season_number': int_or_none(url_match.group('season')),
- 'episode_number': int_or_none(url_match.group('episode'))
+ 'episode_number': int_or_none(url_match.group('episode')),
}