Skip to content

Vplay Error #8

@amirpronk3

Description

@amirpronk3

Event Trigger:
.vplay

Traceback info:
Traceback (most recent call last):
File "/root/amirpronk/catuserbot/userbot/core/client.py", line 130, in wrapper
await func(check)
File "/root/amirpronk/catuserbot/catvc/vcplayer.py", line 236, in play_video
inputstr = await tg_dl(event, reply, vc_player.BOTMODE)
File "/root/amirpronk/catuserbot/catvc/helper/tg_downloader.py", line 90, in tg_dl
thumb = f"https://graph.org{(upload_file(thumb))[0]}"
File "/usr/local/lib/python3.10/dist-packages/telegraph/upload.py", line 13, in upload_file
r = TelegraphApi().upload_file(f)
File "/usr/local/lib/python3.10/dist-packages/telegraph/api.py", line 61, in upload_file
error = response.get('error')
AttributeError: 'str' object has no attribute 'get'

Error text:
'str' object has no attribute 'get'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions