|
|
|
@ -393,7 +393,7 @@ async def main():
|
|
|
|
|
if url: |
|
|
|
|
url = urlunparse(parsed) |
|
|
|
|
elif domain == 'gfycat.com': |
|
|
|
|
async with session.get(f'https://api.gfycat.com/v1/gfycats/{parsed[2]}') as resp: |
|
|
|
|
async with session.get(f'https://api.gfycat.com/v1/gfycats/{splitted[0]}') as resp: |
|
|
|
|
apidata = await resp.json() |
|
|
|
|
gfyitem = apidata.get('gfyItem') |
|
|
|
|
if gfyitem: |
|
|
|
|