Skip to content

Commit

Permalink
Update pasteme.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSiken authored Aug 12, 2024
1 parent d06b725 commit 00d5c1f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pasteme.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
valid_file = "valid.txt"

# Discord Webhook URL'si
discord_webhook_url = "https://discord.com/api/webhooks/"
discord_webhook_url = "https://discord.com/api/webhooks/1272248921963368518/-ILbc1tKD2CkJmsLm9fBuWsWWGi6GoR7M0cNIYdDkoNVRz3Dt9wqzA0VyRz62tI7QdMs"

# Yapılandırma dosyası
config_file = "config.json"
Expand Down Expand Up @@ -109,6 +109,7 @@ def open_chrome_with_chromedriver_path():

def take_screenshot(url, chromedriver_path, file_path="screenshot.png"):
chrome_options = Options()
chrome_options.add_argument("--headless") # Tarayıcıyı görünmez modda aç
chrome_options.add_argument("--start-maximized") # Tarayıcıyı tam ekran aç
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument("--disable-dev-shm-usage")
Expand Down

0 comments on commit 00d5c1f

Please sign in to comment.