From fd7aaa6ae990e8cb06b6e77dab00e440609860df Mon Sep 17 00:00:00 2001 From: DarkFighterLuke Date: Sat, 26 Feb 2022 15:28:09 +0100 Subject: [PATCH] Rename views to view_count --- youtube_dl/extractor/xvideos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/xvideos.py b/youtube_dl/extractor/xvideos.py index 36eed1f42..bdd799619 100644 --- a/youtube_dl/extractor/xvideos.py +++ b/youtube_dl/extractor/xvideos.py @@ -41,7 +41,7 @@ class XVideosIE(InfoExtractor): 'uploader_id': 'Twistys', 'uploader_url': '/channels/twistys1', 'actors': [{'given_name': 'Adriana Chechik', 'url': 'https://www.xvideos.com/pornstars/adriana-chechik'}, {'given_name': 'Abella Danger', 'url': 'https://www.xvideos.com/pornstars/abella-danger'}], - 'views': int, + 'view_count': int, } }, { 'url': 'https://flashservice.xvideos.com/embedframe/4588838', @@ -175,5 +175,5 @@ class XVideosIE(InfoExtractor): 'uploader_id': creator, 'uploader_url': uploader_url, 'actors': actors, - 'views': str_to_int(views), + 'view_count': str_to_int(views), }