изменил старт первого источника
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
4
main.py
4
main.py
@@ -305,9 +305,9 @@ def update_bd_and_create_document(response_text, article_date, url, parsed_at, o
|
||||
#Функции start первого источника (газета)
|
||||
def start_pars_one_istochnik(data_init=""):
|
||||
if data_init != ['']:
|
||||
current_day = data_init[0]
|
||||
current_day = data_init[2]
|
||||
current_month = data_init[1]
|
||||
current_year = data_init[2]
|
||||
current_year = data_init[0]
|
||||
else:
|
||||
datetime_now = dt.now()
|
||||
current_day = create_folder(datetime_now.day)
|
||||
|
||||
Reference in New Issue
Block a user