Advertisement
Guest User

TND Script for Express

a guest
Nov 12th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.66 KB | None | 0 0
  1. import requests                    
  2. import random                      
  3. from bs4 import BeautifulSoup              
  4. import time
  5. from time import sleep
  6. import re
  7. import sys
  8. from discord_webhook import DiscordWebhook, DiscordEmbed
  9. from termcolor import colored
  10.  
  11.  
  12. main_url = 'https://www.the-broken-arm.com/fr/raffle-store?color=vapor_black'
  13. form_url = 'https://www.the-broken-arm.com/fr/raffle-store?color=vapor_black'
  14.  
  15. headers = {'User-Agent':
  16.            'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87 Safari/537.36'}
  17.  
  18. print(colored("---------------------------------", "blue"))
  19. print(colored("TheBrokenArm Raffle Script ", "blue"))
  20. print(colored("---------------------------------", "blue"))                                            
  21.  
  22.  
  23. def main(limit):
  24.  
  25.     for i in range(0, limit):
  26.  
  27.         print(colored("Submitting Entry...","yellow"))  
  28.  
  29.  
  30.         payload ={
  31.             'lastname' : 'TryHs',       #LastName
  32.             'firstname' : 'Express',       #FirstName
  33.             'days' : '24',       #Birth Day
  34.             'months' : '11',       #Birth Month
  35.             'years' : '1999',       #Birth Year
  36.             'phone' : '0678234312',       #Phone Number
  37.             'from' : 'expressgoat@gmail.com',       #Email          
  38.             'size' : '10 WMNS US',     #Size
  39.             'gdpr_consent_chkbox' : '1'
  40.                 }
  41.         resp = requests.post(form_url, data=payload, headers=headers)
  42.         if (resp.status_code == 200):
  43.             print(colored("Successful entry", "green"))
  44.  
  45.         else:
  46.             print(colored("Failed entry", "red"))
  47.  
  48. main (1)
  49. exit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement