NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
import time
import pyfiglet


text = pyfiglet.figlet_format('Auto Post Bot By Samet Ayer',)
print(text)




def telno():
try:
tarayici.find_element_by_name('email').send_keys(mailgir)
print("[+]Devam Ediliyor!")
except:
print("[-]Mail Girme Zaman Aşımına Uğradı!")
time.sleep(3)
telno()


def sifre():
try:
tarayici.find_element_by_name('pass').send_keys(sifregir)
print("[+]Devam Ediliyor!")
except:
print("[-]Şifre Girme Zaman Aşımına Uğradı!")
time.sleep(3)
sifre()

def girisyap():
try:
tarayici.find_element_by_id('u_0_b').click()
print("[+]Devam Ediliyor!")
time.sleep(3)
tarayici.get('https://upload.facebook.com/')
except:
print("[-]Giriş Yapma Zaman Aşımına Uğradı!")
time.sleep(3)
girisyap()

def etiket():
try:
tarayici.find_element_by_xpath("//*[text()='Şu Anda Bu Özelliği Kullanamazsın']")
print("[-]Post Banı!")
time.sleep(3600)
tarayici.refresh()
otopost()
except:
try:
tarayici.find_element_by_xpath("//*[text()='Arkadaşlarını Etiketle']").click()
print("[+]Devam Ediliyor!")
except:
print("[-]Etiket Zaman Aşımına Uğradı!")
time.sleep(3)
etiket()


def etiketyaz():
try:
tarayici.find_element_by_xpath("//*[text()='Şu Anda Bu Özelliği Kullanamazsın']")
print("[-]Post Banı!")
time.sleep(3600)
tarayici.refresh()
otopost()
except:
try:
etiketyaz1 = tarayici.find_element_by_xpath("/html/body/div[1]/div[3]/div[1]/div/div[2]/div[2]/div[1]/div[2]/div/div[3]/div/div/div[2]/div[1]/div/div/div/div[2]/div/div[2]/div[1]/div/table/tbody/tr/td[2]/div/div/span[2]/label/input")
time.sleep(1)
etiketyaz1.send_keys(etiketgir)
time.sleep(0.5)
etiketyaz1.send_keys('n')
print("[+]Devam Ediliyor!")
except:
print("[-]Etiket Yaz Zaman Aşımına Uğradı!")
time.sleep(3)
etiketyaz()

def paylas():
try:
tarayici.find_element_by_xpath("//button[contains(.,'Paylaş')]").click()
print("[+]Devam Ediliyor!")
except:
print("[-]Paylaş Zaman Aşımına Uğradı!")
time.sleep(3)
paylas()

def otopost():
gönderi()
etiket()
etiketyaz()
paylas()


mailgir = "MAİL_ADRES" #Mail Adresiniz
sifregir = "SİFRE" #Şifreniz
etiketgir = "ETİKET" #Etiketleneck Kişinin Adı
linkyaz = "LİNK" #Link
teamyaz = "TEAM" #Team İsmi
ilkpost = int(input('[-]İlk Post >>> '));
sonpost = int(input('[-]Son Post >>> '));
print(" ")

options = webdriver.ChromeOptions()

prefs = {"profile.default_content_setting_values.notifications" : 2}
options.add_argument('--headless')
options.add_experimental_option("prefs",prefs)
tarayici = webdriver.Chrome(options=options)
tarayici.get('https://upload.facebook.com/')

with open('post.txt', 'w') as f:
for i in range(ilkpost,sonpost):
f.write('%dn' % i)


telno()
sifre()
girisyap()
post = open('post.txt','r')
for i in range(sonpost-ilkpost):
a = post.readline()
def gönderi():
try:
gönderi1 = tarayici.find_element_by_name('xhpc_message')
time.sleep(1)
gönderi1.send_keys('#TANERPOST'+'n'+'#TEAM'+teamyaz+' = ',linkyaz,'n','#'+a)
print("[+]Devam Ediliyor!")
except:
print("[-]Gönderi Zaman Aşımına Uğradı!")
time.sleep(1)
tarayici.refresh()
time.sleep(3)
gönderi()
otopost()
print(" ")
print(" ")
print('[+]Post Başarıyla Paylaşıldı!')
print(" ")
print(" ")
time.sleep(2)
tarayici.refresh()
print('Postlar Tamamlandı!')
print('Program 10 Saniye İçinde Kapanıcak')
time.sleep(10)
tarayici.exit()
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.