Closed kiloppertry closed 1 year ago
can you help me find out the problem,please?
Snscrape has an ongoing issue. This is beyond me. It's mentioned in their GitHub and unfortunately doesn't appear there's going to be a possible fix https://github.com/JustAnotherArchivist/snscrape/issues/996
`File "e:\temp\ipykernel_16024\2936908550.py", line 14, in <cell line: 14> for i,tweet in enumerate(sntwitter.TwitterSearchScraper('from:QCompounding').get_items()): # CharlieMunger00 Mayhem4Markets QCompounding
File "D:\anaconda3\envs\tensorflow\lib\site-packages\snscrape\modules\twitter.py", line 680, in get_items for obj in self._iter_api_data('https://api.twitter.com/2/search/adaptive.json', params, paginationParams, cursor = self._cursor):
File "D:\anaconda3\envs\tensorflow\lib\site-packages\snscrape\modules\twitter.py", line 369, in _iter_api_data obj = self._get_api_data(endpoint, reqParams)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\snscrape\modules\twitter.py", line 338, in _get_api_data self._ensure_guest_token()
File "D:\anaconda3\envs\tensorflow\lib\site-packages\snscrape\modules\twitter.py", line 301, in _ensure_guest_token r = self._get(self._baseUrl if url is None else url, headers = {'User-Agent': self._userAgent}, responseOkCallback = self._check_guest_token_response)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\snscrape\base.py", line 216, in _get return self._request('GET', *args, **kwargs)
File "D:\anaconda3\envs\tensorflow\lib\site-packages\snscrape\base.py", line 212, in _request raise ScraperException(msg)
ScraperException: 4 requests to https://twitter.com/search?f=live&lang=en&q=from%3AQCompounding&src=spelling_expansion_revert_click failed, giving up.`