pablo-sampaio commited on
Commit
82b1a2e
1 Parent(s): c5d9719

Update match_info_crawler.py

Browse files
Files changed (1) hide show
  1. match_info_crawler.py +2 -1
match_info_crawler.py CHANGED
@@ -26,7 +26,7 @@ USE_BEST_EXTRACTOR = True
26
 
27
  sao_paulo_timezone = pytz.timezone('America/Sao_Paulo')
28
 
29
- CURRENT_DATE = datetime.now(sao_paulo_timezone)
30
 
31
 
32
  SYSTEM_PROMPT = '''You will extract soccer match information from the text extracted from a html page,
@@ -73,6 +73,7 @@ def get_matches_info(date_str: str):
73
  - String with one matche per line; or empty string if the service is not available now.
74
  '''
75
  assert date_str in ['yesterday', 'today', 'tomorrow'], 'Invalid date_str parameter'
 
76
 
77
  if date_str == 'yesterday':
78
  link = 'https://www.placardefutebol.com.br/jogos-de-ontem'
 
26
 
27
  sao_paulo_timezone = pytz.timezone('America/Sao_Paulo')
28
 
29
+ #CURRENT_DATE = datetime.now(sao_paulo_timezone)
30
 
31
 
32
  SYSTEM_PROMPT = '''You will extract soccer match information from the text extracted from a html page,
 
73
  - String with one matche per line; or empty string if the service is not available now.
74
  '''
75
  assert date_str in ['yesterday', 'today', 'tomorrow'], 'Invalid date_str parameter'
76
+ CURRENT_DATE = datetime.now(sao_paulo_timezone)
77
 
78
  if date_str == 'yesterday':
79
  link = 'https://www.placardefutebol.com.br/jogos-de-ontem'