Traceback (most recent call last):
File "trend.py", line 16, in <module>
df = pytrend.trend(trend_payload, return_type='dataframe')
File "/usr/lib/python3.5/site-packages/pytrends-3.0.0-py3.5.egg/pytrends/request.py", line 81, in trend
File "/usr/lib/python3.5/site-packages/pytrends-3.0.0-py3.5.egg/pytrends/request.py", line 154, in _trend_dataframe
TypeError: 'NoneType' object is not subscriptable
I also tried:
trend_payload = {'q': ['pizza','macaroni'],'date':'today 7-d'}
results in:
I also tried:
trend_payload = {'q': ['pizza','macaroni'],'date':'today 7-d'}
with the same error result.