diff --git a/params.py b/params.py index 6bdfce3..60d858e 100644 --- a/params.py +++ b/params.py @@ -159,7 +159,6 @@ 'updated_date', 'authorships.author:count', - 'authorships.author.display_name', 'authorships.author.id', diff --git a/process.py b/process.py index 1f16491..6bfabc3 100644 --- a/process.py +++ b/process.py @@ -678,8 +678,16 @@ def create_list_separator(num): # El problema persiste incluso si se guarda como string "True" o "TRUE". if isinstance(value, bool): value = 0 if value == False else 1 + else: + # Para evitar errores al concatenar valores "None" + if not value: + value = '' - results[f'{col_name}'] = value + if col_name in results: + results[col_name] = results[col_name] + \ + create_list_separator(arrnum-1) + value + else: + results[col_name] = value def check_invalid_api_words_and_initials(author, author_api):