mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 02:32:16 +00:00
Rename views to view_count
This commit is contained in:
parent
81787fd733
commit
fd7aaa6ae9
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue