telegram-twitter-forwarder-bot
telegram-twitter-forwarder-bot copied to clipboard
Cannot show the first tweet after subscription if the username of twitter account has _
I faced this problem several times and i found that the problem only happens when the username is including _ like adidas_ES
the problem only happens on the first post after subscription.
Can the problem be fixed by editing markdown_twitter_usernames in util.py?
I am just guessing cuz i am green to python.
Yes. I disabled everything:
Am 25.02.2021 um 21:43 schrieb marco2632 [email protected]:
I faced this problem several times and i found that the problem only happens when the username is including _ like adidas_ES the problem only happens on the first post after subscription. Can the problem be fixed by editing markdown_twitter_usernames in util.py? I am just guessing cuz i am green to python.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Also try changing the code here and there and look what happens. Investigate a little bit. See what Code x does.
If you want to show code or the terminal output, use pastebin or anything similar.
Have a nice day.
Am 25.02.2021 um 23:28 schrieb Adem Acar [email protected]:
Yes. I disabled everything:
<image0.png>
Am 25.02.2021 um 21:43 schrieb marco2632 [email protected]:
I faced this problem several times and i found that the problem only happens when the username is including _ like adidas_ES the problem only happens on the first post after subscription. Can the problem be fixed by editing markdown_twitter_usernames in util.py? I am just guessing cuz i am green to python.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I tried to edit markdown_twitter_usernames in util.py but problems still happen. I will try other way later.
2021-02-28 23:12:36,476 - TwitterForwarderBot - DEBUG - Sending tweet 1365219695092236288 to chat 148110932...
2021-02-28 23:12:36,666 - TwitterForwarderBot - INFO - Couldn't send tweet 1365219695092236288 to chat 148110932: "Bad Request: can't parse entities: Can't find end of the entity starting at byte offset 530"
Okay I found the problem is from ParseMode. If i change the code from Markdown to html, it works