66596
commited on
Commit
·
0b1cc37
1
Parent(s):
2de345c
refactor: modify search query and max num news
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ if company:
|
|
61 |
links = []
|
62 |
news_text = []
|
63 |
|
64 |
-
query = f'{company}
|
65 |
-
response = google_search(query, API_KEY, SEARCH_ENGINE_ID, num=
|
66 |
|
67 |
url_collection = [item['link'] for item in response]
|
68 |
import os
|
|
|
61 |
links = []
|
62 |
news_text = []
|
63 |
|
64 |
+
query = f'{company}'
|
65 |
+
response = google_search(query, API_KEY, SEARCH_ENGINE_ID, num=50)
|
66 |
|
67 |
url_collection = [item['link'] for item in response]
|
68 |
import os
|