Iceloof / GoogleNews

Script for GoogleNews
https://pypi.org/project/GoogleNews/
MIT License
314 stars 88 forks source link

partially initialized module 'GoogleNews' has no attribute 'get_news' (most likely due to a circular import) #68

Closed digish777 closed 3 years ago

digish777 commented 3 years ago

partially initialized module 'GoogleNews' has no attribute 'get_news' (most likely due to a circular import)

cannot import name 'GoogleNews' from partially initialized module 'GoogleNews' (most likely due to a circular import)

HurinHu commented 3 years ago
from GoogleNews import GoogleNews
googlenews = GoogleNews()
googlenews.get_news('APPLE')
googlenews.results()

You should able to get the result from this