Logs for Task 6
[ENTRYPOINT] Checking if haiku.json exists in data volume...
[ENTRYPOINT] Creating /usr/src/app/aiNews-data directory...
[ENTRYPOINT] Seeding haiku.json into /usr/src/app/aiNews-data/
[INFO] Starting to create video with VoiceID nPczCjzI2devNBz1zQrb
Traceback (most recent call last):
File "/usr/src/app/app/main.py", line 410, in
main()
File "/usr/src/app/app/main.py", line 403, in main
run_google_trends(region=region)
File "/usr/src/app/app/main.py", line 26, in run_google_trends
top_trends = get_top_trends(region=region, num_trends=int(trendsValue))
File "/usr/src/app/app/google_trends.py", line 30, in get_top_trends
df_trending_searches = pytrends.trending_searches(pn=param)
File "/usr/local/lib/python3.9/site-packages/pytrends/request.py", line 474, in trending_searches
req_json = self._get_data(
File "/usr/local/lib/python3.9/site-packages/pytrends/request.py", line 160, in _get_data
raise exceptions.ResponseError.from_response(response)
pytrends.exceptions.ResponseError: The request failed: Google returned a response with code 404