Esempio n. 1
0
			try:
				sName = bText
				sName = sName.split("Название процедуры:")
				sName = sName[1]
				sName = sName.split("clear")
				sName = sName[0]
				bName = reGet.findall(sName)
				if(len(bName) > 0):
					sName = bName[0]
				else :
					sName = ""
			except:
				sName = "" 
				
			sNameOrg = sName
			sNameRus = getRus(sName)	
			#################################
			
			
			#################################
			try:	
				sOrg = bText
				sOrg = sOrg.split("Организатор процедуры:")
				sOrg = sOrg[1]
				sOrg = sOrg.split("clear")
				sOrg = sOrg[0]
				bOrg = reGet.findall(sOrg)
				if(len(bOrg) > 0):
					sOrg = bOrg[0]
				else :
					sOrg = ""
Esempio n. 2
0
	arId = reId.findall(s)
	arName = reName.findall(s)
	arPrice = rePrice.findall(s)
	arTime = reTime.findall(s)
	arOrg = reOrg.findall(s)
	arAdress = reAdress.findall(s)


	for i in range(len(arId)):

		sId = arId[i]
		sPrice = arPrice[i]
		sTime = arTime[i]
		sNameOrg = arName[i]
		sNameRus = getRus(arName[i])
		sOrg = arOrg[i]
		sAdress = arAdress[i]
		sRegId = getRegion(sAdress)
		

		
		fileData = 1
		
		
		sSite = "sberbank-ast.ru"
		sLink = "http://sberbank-ast.ru/purchaseview.aspx?id="  + sId
		
		
		# ###############################################
		# # Внутренности