From bbf0342afd2797f006c58d75c211365f7796ad99 Mon Sep 17 00:00:00 2001 From: nindogo Date: Tue, 30 Apr 2019 04:13:32 +0300 Subject: [PATCH] Change test case for PornTrexIE The video that we used to test the previous version of porntrex.py is no longer on the website. This led to failures in the tests. Here we have a corrected version with working URL. --- youtube_dl/extractor/porntrex.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/youtube_dl/extractor/porntrex.py b/youtube_dl/extractor/porntrex.py index 085ded422..b4274c1d2 100644 --- a/youtube_dl/extractor/porntrex.py +++ b/youtube_dl/extractor/porntrex.py @@ -46,13 +46,13 @@ class PornTrexIE(PornTrexBaseIE): _NETRC_MACHINE = 'porntrex' _VALID_URL = r'https?://(?:www\.)?porntrex\.com/video/(?P[0-9]+)/' _TEST = { - 'url': 'https://www.porntrex.com/video/350451/naomi-woods-the-list', + 'url': 'https://www.porntrex.com/video/311136/naomi-gets-fingered-before-the-fucking', 'info_dict': { - 'id': '350451', + 'id': '311136', 'ext': 'mp4', - 'title': 'Naomi Woods - The List in 4k', - 'uploader': 'delman', - 'description': 'Naomi Woods The List', + 'title': 'Naomi gets fingered before the fucking', + 'uploader': 'cumberland', + 'description': 'Sexy brunette babe likes to get her tight cunt slammed in hardcore fashion.', } }