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

Rename views to view_count

This commit is contained in:
DarkFighterLuke 2022-02-26 15:28:09 +01:00
parent 81787fd733
commit fd7aaa6ae9

View file

@ -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),
}