Closed novucs closed 1 year ago
I'm getting an snscrape.base.EntityUnavailable: User unavailable
as expected. But there have been similarly silly responses from Twitter before (#828), so I'm not surprised it might happen temporarily.
That said, rather than comparing to an empty dict, this needs handling similar to the Empty response
exceptions in the entity fetching.
I'm getting an
snscrape.base.EntityUnavailable: User unavailable
as expected. But there have been similarly silly responses from Twitter before (#828), so I'm not surprised it might happen temporarily.That said, rather than comparing to an empty dict, this needs handling similar to the
Empty response
exceptions in the entity fetching.
Thanks, updated the check for existence of result rather than empty dict
Sorry for not being clearer, I meant raising a ScraperException('Empty response')
in that particular case of result
missing.
KeyError: 'result'
reproducible when scraping previously existing user:TwitterProfileScraper(229692331)