Exemplo n.º 1
0
def getRcb(monitor):
    print("hyip_stop.getRcb()")

    rcb_url = "http://{0}/new".format(monitor)
    d = pq(url=rcb_url)
    list = d("a.joinnw")
    siteList = []

    for item in list:
        obj = {}
        obj["id"] = getId(item.get("href"))

        if common.getSiteMonitorByRefSiteId(monitor, obj["id"]) == None:
            obj["siteRCBUrl"] = "http://{0}/details/aj/rcb/lid/{1}/".format(monitor, obj["id"])
            obj["url"] = getSiteUrl(item.get("href"), monitor, obj["siteRCBUrl"])
            obj["siteId"] = ""

            if obj["url"] != "":
                siteId = common.insertSite(obj)
                obj["siteId"] = siteId

                siteList.append(obj)
            print("{0} - {1} - {2}".format(obj["id"], obj["url"], obj["siteId"]))

    for item in siteList:
        common.insertSiteMonitor(item, monitor)
Exemplo n.º 2
0
def getRcb(monitor):
    print("graspgold.getRcb()")

    rcb_url = "http://{0}/new/".format(monitor)
    d = pq(url=rcb_url)
    tables = d(".new_site a")
    siteList = []

    for index, item in enumerate(tables):
        try:
            obj = {}
            obj["id"] = getId(item.get("href"))
            obj["siteRCBUrl"] = "http://{0}/refback/lid/{1}/".format(monitor, obj["id"])
            obj["url"] = getSiteUrl(item.get("href"), monitor, obj["siteRCBUrl"])
            obj["siteId"] = ""

            if obj["url"] != "":
                siteId = common.insertSite(obj)
                obj["siteId"] = siteId

                siteList.append(obj)
                print("{0} - {1} - {2}".format(obj["id"], obj["url"], obj["siteId"]))
        except:
            pass

    for item in siteList:
        common.insertSiteMonitor(item, monitor)
Exemplo n.º 3
0
def getRcb(monitor):
	print("list4hyip_com.getRcb()")

	rcb_url = "http://www.{0}/new/".format(monitor)
	d = pq(url=rcb_url)
	tables = d(".newstingbg .name")
	siteList = []
	
	for index, item in enumerate(tables):
		obj = {}
		obj['siteId'] = ""
		obj['id'] = getId(item.get("href"))
		
		obj['siteRCBUrl'] = "http://{0}/details/lid/{1}".format(monitor, obj['id'])
		obj['url'] = getSiteUrl(obj['id'], monitor, obj['siteRCBUrl'])
		
		if obj['url'] != '':
			siteId = common.insertSite(obj)
			obj['siteId'] = siteId
			
			siteList.append(obj)
			print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 4
0
def getRcb(monitor):
	print("invest_tracing.getRcb()")
	
	rcb_url = "http://{0}/newadd.html".format(monitor)
	d = pq(url=rcb_url)
	tables = d(".listbody tr td[width='28%'] .pro")
	siteList = []
	
	for index, item in enumerate(tables):
		try:
			obj = {}
			obj['id'] = getId(item.get("href"))
			obj['siteRCBUrl'] = "http://{0}/rcb-{1}.html".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(item.get("href"), monitor, obj['siteRCBUrl'])
			obj['siteId'] = ""
				
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
				print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
		except:
			pass
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 5
0
def getRcb(monitor):
	print("gs_monitor.getRcb()")
	
	rcb_url = "http://{0}/?a=showblock&block=newhyips".format(monitor)
	d = pq(url=rcb_url)
	list = d(".newlistingslink")
	siteList = []
	
	for item in list:
		obj = {}
		obj['id'] = getId(item.get("href"))
		
		if common.getSiteMonitorByRefSiteId(monitor, obj['id']) == None:		
			obj['siteRCBUrl'] = "http://{0}//refback/{1}/".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(obj['id'], monitor, obj['siteRCBUrl'])
			obj['siteId'] = ""
				
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
			print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 6
0
def getRcb(monitor):
    print("hyipdollar_com.getRcb()")

    rcb_url = "http://{0}/new/".format(monitor)
    d = pq(url=rcb_url)
    tables = d(".list .name")
    siteList = []

    for index, item in enumerate(tables):
        obj = {}
        obj["siteId"] = ""
        obj["id"] = getId(item.get("href"))

        obj["siteRCBUrl"] = "http://{0}/refback/lid/{1}/".format(monitor, obj["id"])
        obj["url"] = getSiteUrl(obj["id"], monitor, obj["siteRCBUrl"])

        if obj["url"] != "":
            siteId = common.insertSite(obj)
            obj["siteId"] = siteId

            siteList.append(obj)
            print("{0} - {1} - {2}".format(obj["id"], obj["url"], obj["siteId"]))

    for item in siteList:
        common.insertSiteMonitor(item, monitor)
Exemplo n.º 7
0
def getRcb(monitor):
	print("hyip_income.getRcb()")
	
	rcb_url = "http://{0}/new/".format(monitor)
	d = pq(url=rcb_url)
	list = d(".program a.name")
	siteList = []
	
	for item in list:
		obj = {}
		obj['id'] = getId(item.get("href"))

		if common.getSiteMonitorByRefSiteId(monitor, obj['id']) == None:		
			obj['siteRCBUrl'] = "http://{0}/refback/lid/{1}/".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(item.get("href"), monitor, obj['siteRCBUrl'])
			obj['siteId'] = ""
				
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
			print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 8
0
def getRcb(monitor):
	print("monhyip.getRcb()")
	
	rcb_url = "http://{0}/projects/new".format(monitor)
	d = pq(url=rcb_url)
	list = d(".hyip_list_item tr[valign='top'] td .label a")
	siteList = []
	
	for item in list:
		obj = {}
		obj['id'] = getId(item.get("href"))

		if common.getSiteMonitorByRefSiteId(monitor, obj['id']) == None:
			obj['siteRCBUrl'] = "http://{0}/referral/{1}/".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(item.get("href"), monitor, obj['siteRCBUrl'])
			obj['siteId'] = ""
				
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
			print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 9
0
def getRcb(monitor):
	print("hyip_tank.getRcb()")

	rcb_url = "http://{0}/allrcb.html".format(monitor)
	d = pq(url=rcb_url)
	tables = d("table.listbody tr td[align='right'] a")
	siteList = []
	
	for index, item in enumerate(tables):
		if index % 2 == 0 and index < len(tables) - 2:
			obj = {}
			obj['siteId'] = ""
			obj['id'] = getId(item.get("href"))
			obj['siteRCBUrl'] = "http://{0}/rcb-{1}.html".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(obj['id'], monitor, obj['siteRCBUrl'])
			
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
				print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 10
0
def getRcb(monitor):
	print("getRcb():", monitor)
	
	rcb_url = "http://{0}/new".format(monitor)
	d = pq(url=rcb_url)
	tables = d(".progname a")
	siteList = []
	
	for index, item in enumerate(tables):
		try:
			obj = {}
			obj['id'] = getId(item.get("href"))
			obj['siteRCBUrl'] = "http://{0}/rcbrequest?lid={1}".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(item.get("href"), monitor, obj['siteRCBUrl'])
			obj['siteId'] = ""
				
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
				print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
		except:
			pass
		
		if index > 8:
			break
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 11
0
def getRcb(monitor):
	print("hyip_scope.getRcb()")
	
	rcb_url = "http://{0}/allrcb.html".format(monitor)
	d = pq(url=rcb_url)
	tables = d("table tr td font a")
	siteList = []
	
	for item in tables:
		if item.text:
			obj = {}
			obj['id'] = getId(item.get("href"))
			obj['siteRCBUrl'] = "http://{0}/rcb-{1}.html".format(monitor, obj['id'])
			obj['url'] = getSiteUrl(item.get("href"), monitor, obj['siteRCBUrl'])
			obj['siteId'] = ""
				
			if obj['url'] != '':
				siteId = common.insertSite(obj)
				obj['siteId'] = siteId
				
				siteList.append(obj)
				print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 12
0
def getRcb(monitor):
	print("hyip_tank.getRcb()")

	rcb_url = "http://{0}".format(monitor)
	d = pq(url=rcb_url)
	tables = d(".adlight .newlistingslink")
	siteList = []
	
	for index, item in enumerate(tables):
		obj = {}
		obj['siteId'] = ""
		obj['id'] = getId(item.get("href"))
		obj['siteRCBUrl'] = "http://{0}/?a=rcb&lid={1}.html".format(monitor, obj['id'])
		obj['url'] = getSiteUrl(obj['id'], monitor, obj['siteRCBUrl'])
		
		if obj['url'] != '':
			siteId = common.insertSite(obj)
			obj['siteId'] = siteId
			
			siteList.append(obj)
			print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)
Exemplo n.º 13
0
def getRcb(monitor):
	print("goodhyip_biz.getRcb()")

	rcb_url = "http://{0}".format(monitor)
	d = pq(url=rcb_url)
	tables = d(".top_profitable .stats .site-n a")
	siteList = []
	
	for index, item in enumerate(tables):		
		obj = {}
		obj['siteId'] = ""
		obj['id'] = getId(item.get("href"))
		obj['siteRCBUrl'] = "http://{0}/refback/lid/{1}/".format(monitor, obj['id'])
		obj['url'] = getSiteUrl(obj['id'], monitor, obj['siteRCBUrl'])
		
		if obj['url'] != '':
			siteId = common.insertSite(obj)
			obj['siteId'] = siteId
			
			siteList.append(obj)
			print("{0} - {1} - {2}".format(obj['id'], obj['url'], obj['siteId']))
				
	for item in siteList:
		common.insertSiteMonitor(item, monitor)