mirror of
https://github.com/ihabunek/twitch-dl
synced 2024-08-30 18:32:25 +00:00
parent
6108b15587
commit
cf8d13e80e
@ -74,7 +74,9 @@ def get_clip(slug):
|
||||
query = """
|
||||
{{
|
||||
clip(slug: "{}") {{
|
||||
id
|
||||
title
|
||||
createdAt
|
||||
durationSeconds
|
||||
game {{
|
||||
name
|
||||
@ -82,6 +84,9 @@ def get_clip(slug):
|
||||
broadcaster {{
|
||||
login
|
||||
displayName
|
||||
channel {{
|
||||
name
|
||||
}}
|
||||
}}
|
||||
videoQualities {{
|
||||
frameRate
|
||||
@ -153,7 +158,6 @@ def get_channel_clips(channel_id, period, limit, after=None):
|
||||
"period": period.upper(),
|
||||
})
|
||||
|
||||
|
||||
response = gql_query(query)
|
||||
user = response["data"]["user"]
|
||||
if not user:
|
||||
|
Loading…
Reference in New Issue
Block a user