コード例 #1
0
ファイル: hyip_stop.py プロジェクト: vietdh85/vh-utility
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)
コード例 #2
0
ファイル: graspgold.py プロジェクト: vietdh85/vh-utility
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)
コード例 #3
0
ファイル: list4hyip_com.py プロジェクト: vietdh85/vh-utility
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)
コード例 #4
0
ファイル: invest_tracing.py プロジェクト: vietdh85/vh-utility
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)
コード例 #5
0
ファイル: gs_monitor.py プロジェクト: vietdh85/vh-utility
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)
コード例 #6
0
ファイル: hyipdollar_com.py プロジェクト: vietdh85/vh-utility
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)
コード例 #7
0
ファイル: hyip_income.py プロジェクト: vietdh85/vh-utility
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)
コード例 #8
0
ファイル: monhyip.py プロジェクト: vietdh85/vh-utility
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)
コード例 #9
0
ファイル: hyip_tank.py プロジェクト: vietdh85/vh-utility
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)
コード例 #10
0
ファイル: uhyips.py プロジェクト: vietdh85/vh-utility
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)
コード例 #11
0
ファイル: hyip_scope.py プロジェクト: vietdh85/vh-utility
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)
コード例 #12
0
ファイル: my_invest_blog.py プロジェクト: vietdh85/vh-utility
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)
コード例 #13
0
ファイル: goodhyip_biz.py プロジェクト: vietdh85/vh-utility
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)