Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: screenshot not showing properly if the website is slow #397

Merged
merged 3 commits into from
Aug 5, 2023
Merged

fix: screenshot not showing properly if the website is slow #397

merged 3 commits into from
Aug 5, 2023

Conversation

noriellecruz
Copy link
Contributor

@noriellecruz noriellecruz commented Aug 4, 2023

i had to make some changes in the webshot plugin because it shows the thum loading image instead of the actual website image if the target url has a slow response time. it will now download the image, waiting for full load, and then pass it as a file path.

image

i tested and it seems effective_message.reply_photo automatically deletes the file after sending to user which i think is good.

@n3d1117 n3d1117 merged commit d2ec58a into n3d1117:main Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants