This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ezt csak így lazán itt hagyom. | |
https://telex.hu/api/exchangerate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
from bs4 import BeautifulSoup | |
URL = input("Lightshot URL: ") | |
PAGE = requests.get(URL, headers={'User-Agent': 'Chrome'}) | |
soup = BeautifulSoup(PAGE.content, "html.parser") | |
result = soup.find(id="screenshot-image").get("src") | |
with open(f"IMG_.png", "wb") as f: | |
f.write(requests.get(result).content) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import time | |
class Client(): | |
def __init__(self, delay: None, address: None): | |
if delay < 0.5: | |
delay = 0.5 | |
self.delay = delay | |
if not address: |