Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- print("""
- ───▄▄▄
- ─▄▀░▄░▀▄ insta : @6g7r_here
- ─█░█▄▀░█ telegram : @l6g7rl
- ─█░▀▄▄▀█▄█▄▀
- ▄▄█▄▄▄▄███▀
- """)
- ur =input('url : ')
- na = input('new name url :')
- def vht():
- url = 'https://v.ht/processreq.php'
- headers = {
- 'Accept': '*/*',
- 'Accept-Encoding': 'gzip, deflate, br',
- 'Accept-Language': 'ar,en-US;q=0.7,en;q=0.3',
- 'Connection': 'keep-alive',
- 'Content-Length': '121',
- 'Content-Type': 'application/x-www-form-urlencoded',
- 'Cookie': 'lang=ar; PHPSESSID=20275e226c88491888105a46200205d7; __utma=80914128.1163209795.1623319702.1623319702.1623319702.1; __utmb=80914128.1.10.1623319702; __utmc=80914128; __utmz=80914128.1623319702.1.1.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); __utmt=1',
- 'Host': 'v.ht',
- 'Origin': 'https://v.ht',
- 'Referer': 'https://v.ht/ar.html',
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0',
- 'X-Requested-With': 'XMLHttpRequest'
- }
- data = {
- 'txt_url': ur,
- 'txt_name': na
- }
- req = requests.post(url, headers=headers, data=data).text
- if ("يمكنك التأكد من عمله بالضغط على الرابط التالي") in req:
- print('---Done new name url---')
- print(f'https://v.ht/{na}')
- if ("عفواً، اللاحقة المدخلة قد تم اختيارها من قبل، فضلاً اختر لاحقة أخرى..!!") in req:
- print("---Error new name---")
- print("New name unavailable, try again")
- print(f'https://v.ht/{na}')
- def cutt():
- url2 = 'https://cutt.us/processreq.php'
- headers2 = {
- 'Accept': '*/*',
- 'Accept-Encoding': 'gzip, deflate, br',
- 'Accept-Language': 'ar,en-US;q=0.7,en;q=0.3',
- 'Connection': 'keep-alive',
- 'Content-Length': '127',
- 'Content-Type': 'application/x-www-form-urlencoded',
- 'Cookie': '__utma=255283994.45785577.1620529487.1620529487.1623321166.2; __utmz=255283994.1623321166.2.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); PHPSESSID=305329d7ec29c0779c15cef89412f959; __utmb=255283994.1.10.1623321166; __utmc=255283994; __utmt=1',
- 'Host': 'cutt.us',
- 'Origin': 'https://cutt.us',
- 'Referer': 'https://cutt.us/',
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0',
- 'X-Requested-With': 'XMLHttpRequest'
- }
- data2 = {
- 'txt_url': ur,
- 'txt_name': na
- }
- req2 = requests.post(url2, headers=headers2, data=data2).text
- if ("تم اختصار الرابط المدخل إلى..") in req2:
- print('---Done new name url---')
- print(f'https://cutt.us/{na}')
- input()
- if("عفواً، اللاحقة المدخلة قد تم اختيارها من قبل، فضلاً اختر لاحقة أخرى..!!فضلاً، تأكد من الرابط المدخل..!!")in req2:
- print("---Error new name2---")
- print("New name unavailable, try again")
- print(f'https://cutt.us/{na}')
- input()
- vht()
- cutt()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement