You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 2 седмици
12345678910111213
  1. import http.server
  2. from discord_webhook import DiscordWebhook
  3. PORT = 80
  4. server_address = ("", PORT)
  5. server = http.server.HTTPServer
  6. handler = http.server.CGIHTTPRequestHandler
  7. handler.cgi_directories = ["/"]
  8. print("Used port :", PORT)
  9. httpd = server(server_address, handler)
  10. httpd.serve_forever()