Commit ff60fd04 authored by BooDonky's avatar BooDonky
Browse files

vs code

parent 50a743af
...@@ -14,15 +14,18 @@ from tools.web_function_tools import * ...@@ -14,15 +14,18 @@ from tools.web_function_tools import *
url = "https://www.bataclan.fr/" url = "https://www.bataclan.fr/"
# Seiten zur Booking # Seiten zur Booking
# url_bookingsite = "https://www.bataclan.fr/en/event/david-carreira-_2022-02-11/"
# url_bookingsite = "https://www.bataclan.fr/en/event/the-jesus-mary-chain_2021-12-05/"
url_bookingsite = "https://www.bataclan.fr/evenement/alvaro-soler_2022-03-02/"
#url_bookingsite = "https://www.bataclan.fr/en/event/cult-of-ya-fest_2022-01-15/" # ===> Main Cult of Ya Link #url_bookingsite = "https://www.bataclan.fr/en/event/cult-of-ya-fest_2022-01-15/" # ===> Main Cult of Ya Link
url_bookingsite = "https://www.bataclan.fr/en/event/david-carreira-_2022-02-11/"
#url_bookingsite = "https://www.bataclan.fr/en/event/the-jesus-mary-chain_2021-12-05/"
#url_bookingsite = "https://www.bataclan.fr/evenement/alvaro-soler_2022-03-02/"
# Timer wann es refreshen sollte # Timer wann es refreshen sollte
start_time = datetime.datetime.now() start_time = datetime.datetime.now()
#set_time = start_time.replace(hour=11, minute=59, second=59, microsecond=0) # ===> Time for Concert
set_time = start_time.replace(hour=20, minute=45, second=55, microsecond=0) set_time = start_time.replace(hour=20, minute=45, second=55, microsecond=0)
# set_time = start_time.replace(hour=12, minute=0, second=0, microsecond=0) # ===> Time for Concert
# Tickets anzahl zu kaufen # Tickets anzahl zu kaufen
number_of_tickets = '5' number_of_tickets = '5'
...@@ -58,7 +61,7 @@ if __name__ == '__main__': ...@@ -58,7 +61,7 @@ if __name__ == '__main__':
searcher(driver, url_bookingsite) searcher(driver, url_bookingsite)
# Entweder Erste oder Zweite booker Funktion auswählen # Entweder Erste oder Zweite booker Funktion auswählen
booker_with_site_refresher(driver, set_time) #booker_with_site_refresher(driver, set_time)
#booker(driver,number_of_tickets) #booker(driver,number_of_tickets)
card_information(driver,cardnumber,cvv,expire_date,expire_year,holder_name) card_information(driver,cardnumber,cvv,expire_date,expire_year,holder_name)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment