Skip to content

Commit 7a25baf

Browse files
committed
FITIC08 - FIX COUNT INDEX
1 parent 9e4fd3c commit 7a25baf

File tree

6 files changed

+8
-711
lines changed

6 files changed

+8
-711
lines changed

1

-166
This file was deleted.

fifa.json

+1-1
Large diffs are not rendered by default.

fifa_scrap.py

+7-5
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@
147147
cc.append(lista_c[1])
148148
cc.append(lista_c[2])
149149

150-
print(len(cc))
151-
#print(cc)
150+
#print(len(cc))
151+
print(lista)
152152

153153

154154
#Find a string that is repeated in all matches
@@ -178,9 +178,11 @@
178178
state = 'Not available'
179179
else:
180180
state = 'Available'
181-
cuenta += 1
182-
id_tikect = 101437163854+cuenta
183181

182+
cuenta += 1
183+
id_tikect = 101437163854+cuenta
184+
185+
184186

185187

186188
if(i==0):
@@ -219,7 +221,7 @@
219221
print(cc[2])
220222
else:
221223
cat3 = 'Available'
222-
matchesV = {'Match': 'M'+match_index ,'HomeTeam': team1_data_list[i] ,'AwayTeam': team2_data_list[i] , 'Status': state_des, 'StateDesc': lista_none_parse[i], 'Category1': cat1, 'Category2': cat2, 'Category3': cat3, 'Buy': 'https://fcfs-intl.fwc22.tickets.fifa.com/secure/selection/event/seat/performance/'+str(id_tikect)+'/lang/en', 'UpdateAt': update_time}
224+
matchesV = {'Match': 'M'+str(cuenta) ,'HomeTeam': team1_data_list[i] ,'AwayTeam': team2_data_list[i] , 'Status': state, 'StateDesc': state_des, 'Category1': cat1, 'Category2': cat2, 'Category3': cat3, 'Buy': 'https://fcfs-intl.fwc22.tickets.fifa.com/secure/selection/event/seat/performance/'+str(id_tikect)+'/lang/en', 'UpdateAt': update_time}
223225
final_list.append(matchesV)
224226
del cc[0:2]
225227
#Conver into json

fifa_scrap2.py

-174
This file was deleted.

0 commit comments

Comments
 (0)