Enabled video statistics (forgot to enable them), also fixed the synchronization of statistics.

This commit is contained in:
2018-10-29 22:45:12 +02:00
parent ce645b98a3
commit c07d1b61f0
3 changed files with 202 additions and 172 deletions

View File

@ -169,7 +169,7 @@ class YouTube(object):
query = Query(self, 'videos', api_params)
response_list.append(ListResponse(query))
return itertools.chain(response_list)
return itertools.chain(*response_list)
def parse_url(self, url: str) -> dict:
"""