QUOTE(DameDameDesuYo @ Oct 4 2017, 06:18 PM)
Thanks for your previous script. Managed to make one like yours in the pic by studying some python. 
This post has been edited by rhytion: Oct 4 2017, 07:13 PM
Lazada Discussion V22 | #MYCyberSCAM, lalalaxx.com | pricecampers.com
|
|
Oct 4 2017, 07:12 PM
|
![]() ![]() ![]()
Junior Member
389 posts Joined: Oct 2016 From: Kota Kinabalu |
|
|
|
Oct 4 2017, 07:34 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,716 posts Joined: May 2006 From: JDT |
Damn, all have python in house, I am
|
|
|
Oct 4 2017, 08:26 PM
|
![]() ![]()
Junior Member
135 posts Joined: Sep 2010 |
|
|
|
Oct 4 2017, 08:28 PM
Show posts by this member only | IPv6 | Post
#364
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,437 posts Joined: Mar 2009 From: ME TO YOU |
Looks like we have something new to learn, fellow non-tech savvy
|
|
|
Oct 4 2017, 08:29 PM
Show posts by this member only | IPv6 | Post
#365
|
![]() ![]()
Junior Member
86 posts Joined: Jan 2003 From: Sabah |
|
|
|
Oct 4 2017, 08:31 PM
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,716 posts Joined: May 2006 From: JDT |
Ask sifu here, like this correct ah? on python:
CODE try: voucherstring = str(data['data']['voucherCode']) |
|
|
Oct 4 2017, 08:42 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
4,735 posts Joined: Feb 2010 From: ★~Starlight~★ |
QUOTE(neo_himura @ Oct 4 2017, 08:29 PM) QUOTE(nazbook @ Oct 4 2017, 08:26 PM) SURE!Script as per below: » Click to show Spoiler - click again to hide... « This post has been edited by AmeiN: Oct 4 2017, 09:45 PM |
|
|
Oct 4 2017, 09:50 PM
Show posts by this member only | IPv6 | Post
#368
|
![]()
Junior Member
24 posts Joined: Oct 2005 |
|
|
|
Oct 4 2017, 10:22 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
4,952 posts Joined: Jul 2010 |
Looking to buy iphone 6 for my FIL. Anyone knows if the so-called brand new authorised Msia sets sold in Lazada is legit?
|
|
|
Oct 4 2017, 10:25 PM
|
![]() ![]()
Junior Member
110 posts Joined: Dec 2008 |
|
|
|
Oct 4 2017, 10:31 PM
|
![]() ![]() ![]()
Junior Member
389 posts Joined: Oct 2016 From: Kota Kinabalu |
Anything wrong with my code or Lazada being stingy even with low voucher values? Help from sifus much appreciated.
CODE import requests, time, sys,os headers = {'User-Agent':"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246"} def recursionftwdude(theSession): try: theSession.close() theSession = None theSession = requests.Session() theSession.get("http://www.lazada.com.my/", headers=headers) return theSession except: recursionftwdude(theSession) numberofrounds = 1 numberof10 = 0 numberof5 = 0 numberof12 = 0 numberOfAttempt = 0 s = requests.Session() proxies = {"http": "http://%s" % (sys.argv[1])} s.proxies.update(proxies) s.get("http://www.lazada.com.my/", headers=headers) url = "http://www.lazada.com.my/ajax/lottery/spinTheWheel/?lang=en&platform=desktop&wheelToken=1e48eefec55aba8b941095da02508bbf&dpr=1" while 1: numberOfAttempt += 1 if numberOfAttempt == 1000: s = recursionftwdude(s) numberOfAttempt = 0 numberofrounds += 1 try: r = s.get(url, headers=headers).json() except ValueError: print "Server no give shit" time.sleep(5) # give server rest, because i see 503 too often continue except requests.exceptions.ConnectionError: print "Server no give shit!!!" time.sleep(2) # littlebit speacial continue try: try: print "Voucher: " + r["data"]["data"]["voucherCode"] if "10" in r["data"]["data"]["voucherCode"]: numberof10 += 1 print "10: " + str(numberof10) if "12" in r["data"]["data"]["voucherCode"]: numberof10 += 1 print "12: " + str(numberof12) if "5" in r["data"]["data"]["voucherCode"]: numberof10 += 1 print "5: " + str(numberof5) with open("voucherCode.txt", "a") as f: f.write(time.ctime(int(time.time())) + " : " + str(r["data"]["data"]["voucherCode"]) + "\n") except: pass print "Voucher: " + r["data"]["voucherCode"] if "10" in r["data"]["data"]["voucherCode"]: numberof10 += 1 print "10: " + str(numberof10) if "12" in r["data"]["data"]["voucherCode"]: numberof10 += 1 print "12: " + str(numberof12) if "5" in r["data"]["data"]["voucherCode"]: numberof10 += 1 print "5: " + str(numberof5) with open("voucherCode.txt", "a") as f: f.write(time.ctime(int(time.time())) + " : " + str(r["data"]["voucherCode"]) + "\n") except KeyError: if r and r["data"]: pass os.system('cls') print time.ctime(int(time.time())) print "----------LAZADA MYCYBERSCAM VOUCHER MINER STATUS----------" print "10% Voucher count: " + str(numberof10) print "12% Voucher count: " + str(numberof12) print "5% Voucher count: " + str(numberof5) print "Attempt no. " + str(numberOfAttempt) print "Round no. " + str(numberofrounds) print "---------------------HERE MARKS THE END---------------------" continue This post has been edited by rhytion: Oct 4 2017, 10:59 PM |
|
|
Oct 4 2017, 10:36 PM
Show posts by this member only | IPv6 | Post
#372
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
7,616 posts Joined: Mar 2009 |
bought another petronas card, after minus RM20 voucher, shopback and CC cashback, only paid RM69 for RM100 worth of petrol
This post has been edited by annoymous1234: Oct 4 2017, 10:39 PM |
|
|
Oct 4 2017, 10:42 PM
Show posts by this member only | IPv6 | Post
#373
|
![]() ![]()
Junior Member
298 posts Joined: Sep 2013 |
|
|
|
Oct 4 2017, 10:43 PM
Show posts by this member only | IPv6 | Post
#374
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,102 posts Joined: May 2013 |
|
|
|
Oct 4 2017, 10:45 PM
Show posts by this member only | IPv6 | Post
#375
|
![]() ![]()
Junior Member
298 posts Joined: Sep 2013 |
|
|
|
Oct 4 2017, 10:54 PM
|
![]() ![]()
Junior Member
110 posts Joined: Dec 2008 |
|
|
|
Oct 4 2017, 10:56 PM
|
![]() ![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
6,955 posts Joined: Apr 2008 |
|
|
|
Oct 4 2017, 10:57 PM
Show posts by this member only | IPv6 | Post
#378
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,102 posts Joined: May 2013 |
|
|
|
Oct 4 2017, 11:09 PM
|
![]() ![]()
Junior Member
110 posts Joined: Dec 2008 |
QUOTE(OwlsHeart @ Oct 4 2017, 10:57 PM) thats weird,i tried and it says invalid. Anyway go for it,thats a decent price for that solid mouse. I'm using the same one now. Replaced my G502. G502 was great but a little heavy and big for my hand. G102 fits perfectly in my hand. Did you type 10mall or mall10? I can use at my end |
|
|
Oct 4 2017, 11:12 PM
Show posts by this member only | IPv6 | Post
#380
|
![]() ![]() ![]() ![]() ![]() ![]()
Senior Member
1,102 posts Joined: May 2013 |
|
| Bump Topic Topic ClosedOptions New Topic |
| Change to: | 0.0291sec
0.79
6 queries
GZIP Disabled
Time is now: 5th December 2025 - 07:07 AM |