ntscraper icon indicating copy to clipboard operation
ntscraper copied to clipboard

Problems extracting terms in different languages

Open AritzUMA opened this issue 1 year ago • 3 comments

Hi,

I am trying to extract the trendic topics of the words tweets and I get a empty page on the servers when I know that there are tweets with this words. This are some examples in different lenguages that give this error.

First Attempt for termino: マフィン First Attempt for termino: シャニソン First Attempt for termino: #あなたの姉度と妹度 First Attempt for termino: あなたの姉度妹度診断

AritzUMA avatar Nov 14 '23 10:11 AritzUMA

I'll check the issue in the following days. Have you tried specifying the language like it's mentioned in this issue https://github.com/bocchilorenzo/ntscraper/issues/23#issue-1978808861 ? Maybe it can help for now

bocchilorenzo avatar Nov 16 '23 18:11 bocchilorenzo

Thanks for you comment and help @bocchilorenzo, really appreciate. The problem is when I try to scrape the tweets, it give me a empty page all the time. I can't specified the language because there are several different languages in trendic topics. Or maybe I don't know how to do it.

AritzUMA avatar Nov 16 '23 19:11 AritzUMA

@bocchilorenzo How do I use language parameters? data = tweets(companies, 'term', number=100, since='2023-01-01', until='2023-12-14', language='en')

carlosrcoelho avatar Dec 15 '23 17:12 carlosrcoelho