News | Webpage to PDF bot
123 subscribers
5 photos
2 files
1 link
News about Webpage to PDF bot
(@html_to_pdf_bot).
Download Telegram
Added two small changes.

Bot now shows chat action when it's sending file.
And at the end of pdf file will be source url.
Hello!

Long time no updates.

The other day I got a new server and today launched a bot on it in a test mode. Please let me know if you have any problems.

There are no new changes, but with the transition to the new server, the bot should respond a little faster and handle heavy pages.

Oh, there is one change. I added support for several new languages:
* Armenian
* Bengali
* Cham
* Chinese
* Devanagari
* Ethiopic
* Georgian
* Gujarati
* Gurmukhi
* Hebrew
* Japan
* Kannada
* Khmer
* Korean
* Kufi Arabic
* Lao
* Malayalam
* Myanmar
* Naskh Arabic
* Oriya
* Sinhala
* Tamil
* Telugu
* Thaana
* Thai
* Tibetan
Hi!

Finally I've completely migrated the bot to a new server. And now it's time to ask you what new features do you want?

I don't promise that I can implement all your requests because I want the bot to be simple, but I'll do my best.

From myself firstly I wanted to translate the bot to other languages. First language will be russian (obviously, because I'm from Russia). Then probably I will setup some platform for crowd translation so anyone who wants to will be able to translate the bot into their own language.

So, feel free to comment the post with your feature requests.

And thank you for using the bot!
The bot was down for several hours today for some users including myself. Now it's working fine.

Need to implement some monitoring and alerting for status of the bot.
Sometimes the bot stops answering to users at all, because the webpage that user sent to it taking opening forever. The bot just doesn't stop loading the page.

I fixed it.

And now if it can't open a link during 30 seconds, the bot will message about it.


Also the bot now ignores invalid SSL certificates and opens such links anyway. Before it just replied that it "can't open the link".
Sorry everyone, the bot is down, because my server is down.

Can't do anything right now. I'm too far from my PC. Will try to get the bot back to work in a few hours.

😞

Update: The bot is up.
Finally I added support for the group chats. You need to add the bot to group and make it admin.

In group chats the bot will be working in a silent mode. So if it can't generate PDF from a link, it will not send anything to group chat. It will be sending only successfully generated PDF.

Not sure how the bot will handle big groups where many links are sent. If something wrong, please report the issue to comments of this post.
Now the bot will be adding date and time at which PDF was generated at the end of file like in the screenshot.

You can't set your timezone right now.
Sometimes the bot receiving the messages with a direct URL to a file such as zip or pdf. The bot has been trying to download it and then it crashes.

From now the bot will ignore such links to prevent crashes.
It will only accept ordinary webpages.
The bot has reached milestone in 2000 users! Thanks everyone for using it!
The bot is in maintainence, it will not work for two days.
Sorry for the inconvenience.
The bot is working now, thanks everyone for your patience.
The bot is not working because I can't make a payment for my server.

I'm from Russia and Visa, MasterCard and PayPal suspended their services here, my server provider doesn't support UnionPay and I don't want to host my bot on russians servers.

Also, due to the exchange rate of the ruble to dollar, the cost of services has doubled. Right now I have no way to pay for servers.

Trying to figure out what to do.
Good news. The bot should work now. Thanks everyone for your patience.

(Please, don't abuse the bot and don't spam it with links if the bot didn't reply you on previous messages).
I've updated dependecies that the bot uses and moved to new telegram bot framework.

If the bot not working as intended please reply in comments or dm me.
I've moved the bot to new article parser. If anything is wrong feel free to reach me out in the comments.
Chatbot - Wikipedia.png
1.7 MB
I've added ability to screenshot full page in PNG format.

To screenshot full page you need to send command /full and url you want to screenshot.

Example:
/full https://en.wikipedia.org/wiki/Chatbot

Then the bot will send you a screenshot, see attached file.

The command is not added yet in command menu and not documented in /help. I'm testing the new feature and if everything is ok, it will be added.
News | Webpage to PDF bot
Chatbot - Wikipedia.png
Chatbot - Wikipedia.pdf
834.7 KB
I've changed png format to pdf.
It's more convenient because you can now click the links or select a text inside a pdf file.
Someone spammed the bot with more 100 same links and the bot got stuck.

I have cleared queue and restarted the bot, it is working now.

Please, don't abuse the bot, or I will just add your telegram id in a ban list.