Skip to content
New issue

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

Timeframe didn't work? #630

Open
dam2452 opened this issue Oct 1, 2024 · 4 comments
Open

Timeframe didn't work? #630

dam2452 opened this issue Oct 1, 2024 · 4 comments

Comments

@dam2452
Copy link

dam2452 commented Oct 1, 2024

self.pytrends = TrendReq(hl='pl-PL', tz=-60)
self.pytrends.build_payload(kw_list, cat=0, timeframe='now 4-H', geo='PL', gprop='')
        trends = self.pytrends.trending_searches(pn='poland')
        print(trends)
        
                                            0
0                   Aktywnie w zlobku
1                  Kris Kristofferson
2              Cracovia – Stal Mielec
3                            Szczesny
4                     Dikembe Mutombo
5           Monkey wódką w saszetkach
6              ŁKS Łódź – Wisła Płock
7                    Stal – GKS Tychy
8                 Przykładny obywatel
9            Tomasz Jakubiak nowotwór
10                            Linette
11                        John Ashton
12                     Dariusz Barski
13                        Megalopolis
14  Komendant główny policji Szymczyk
15                     Władimir Putin
16                     1 października
17                          Griezmann
18                   Aleksiej Nawalny
19                           Courtois

image

Is there something I'm doing wrong, or did I find an issue? Why are these two lists not the same? Is something wrong with me? How can I get this list from the screenshot? (I know it's in Polish, but I'm sure you can see the difference in characters :D)

@dam2452
Copy link
Author

dam2452 commented Oct 1, 2024

I also tested the timeframe with these values: 'now 1-H', 'now 7-d', and I got the same result.

@dam2452
Copy link
Author

dam2452 commented Oct 1, 2024

And here is the URL for the data I want to scrape: https://trends.google.com/trending?geo=PL&hl=pl&status=active&hours=4

@arthii17
Copy link

arthii17 commented Oct 4, 2024 via email

@dam2452
Copy link
Author

dam2452 commented Oct 4, 2024

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants