Giter VIP home page Giter VIP logo

Comments (6)

leandrotoledo avatar leandrotoledo commented on May 16, 2024

Hi @soulblader, does it really work for you? I thought HTTPS proxy wasn't a thing in urllib2. If I send a patch could you test?

from python-telegram-bot.

soulblader avatar soulblader commented on May 16, 2024

Hi there!
Yes, it does. There is a tiny notification script on nagios server. Server can't access any resource in the internet without proxy. There is http proxy.
Sure, I can check it.

from python-telegram-bot.

franciscod avatar franciscod commented on May 16, 2024

We can ship something like the class you posted as an example, but I'm not sure if proxy support belongs to the standard bot class. Opinions on this?

from python-telegram-bot.

soulblader avatar soulblader commented on May 16, 2024

Hi, @franciscod!
Oh, you're right! Proxy can be installed separately. Then, it is solved without any fixes. Thank you guys!

from python-telegram-bot.

franciscod avatar franciscod commented on May 16, 2024

i'd love if you sent a pull request with an example similar to what you posted here, so when someone needs a proxy has a starting point :)

from python-telegram-bot.

hamedpy avatar hamedpy commented on May 16, 2024

hello thank for your script but i want to create telegram bot with python 2 in addition telegram has filter in my country how i can set proxy to my bot and send message with run in terminal(cmd-windows)? because i wrote scripts after that i don't have any problem bot when i run my telegrambot.py it never send an things. can you help me please i so love to create my own bot

from python-telegram-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.