We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the error: File "/usr/local/lib/python3.10/site-packages/twikit/client.py", line 2582, in get_trends trend_info = item['item']['content']['trend']
trend_info = item['item']['content']['trend']
I am wondering if some item may not have the key trend, it may need to do a key existing test, and only valid trend_info could be added to results.
trend
trend_info
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the error:
File "/usr/local/lib/python3.10/site-packages/twikit/client.py", line 2582, in get_trends
trend_info = item['item']['content']['trend']
I am wondering if some item may not have the key
trend
, it may need to do a key existing test, and only validtrend_info
could be added to results.The text was updated successfully, but these errors were encountered: