-
Notifications
You must be signed in to change notification settings - Fork 816
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
got rid of problematic function #542
Conversation
also resovles #488 |
note that the google trends library in node js doesn't support functions beyond what the api directly supports. I think this is wise |
@Terseus what do you think of this? |
I'm going to admit, after reading the issue discussion and the method code I see it is... really, really bad; returns incorrect results basically always as @rheophile10 explained in the issue, in case of an error it just On the other hand, completely removing already existing functionality without even a warning will only serve to angry our users and deal with issues about why it was removed. I think the best would be, instead of fully remove it, replace the whole method code with a Anyhow, I also think we must revisit this feature in the future because it's really good to have it. |
I added a stub function with a |
Yeah I think probably it probably makes sense to show in an article/tutorial how we could use the rest of pytrends to implement something similar to a function like this or to demonstrate how pytrends could be used to warehouse data with some Google Cloud Functions in like Google BigQuery or something but I don't think we want to support a function that is basically pytrends.create_data_warehouse_for_me_with_enough_api_calls_to_get_my_ip_address_blacklisted_by_google |
Can this problem be solved? Or is this method considered to be permanently removed? |
it can be solved. I'll show you an example this week |
I don't think it should be supported as part of the core functionality though but thats just my personal opinion |
Hi @rheophile10, I see the hourly feature was removed and see your note on how it can be solved. I'm needing to build a history of data on specific stocks, from stock exchanges in various countries for a some academic research. Ideally, this would go back years, but I think we could get blocked pretty easily. |
I never did get around to writing that blog entry - pretty busy. I guess I'll put up a repo for this and show how I'd do it. |
That’s great, looking forward to seeing it. Thanks so much
On Mon, 6 Mar 2023 at 12:53 am, rheophile10 ***@***.***> wrote:
I never did get around to writing that blog entry - pretty busy. I guess
I'll put up a repo for this and show how I'd do it.
—
Reply to this email directly, view it on GitHub
<#542 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACDQQXYNHCW2EKFT5ZRMLODW2SLA3ANCNFSM6AAAAAARTINKNA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Regards,
James Marchetti
0422 213 890
|
Dear Pytrends Contributors, I hope you are doing well. I am writing to let you know about my concerns regarding the current state of Pytrends. Recently, I have been experiencing issues with the software while trying to gather data using different IP addresses, software, and proxies. Unfortunately, I received the error message "The request failed: Google returned a response with code 429." I understand that Pytrends relies heavily on Google's API to collect data, and I appreciate the effort put in by the development team to make this possible. However, Pytrends needs an update to resolve this issue. I want the development team to take a closer look at this issue and provide a solution as soon as possible. As a member of this community, I rely on Pytrends for my professional work, and such errors affect my productivity and workflow. I would also like to encourage other community members to share their experiences with Pytrends and any issues they might have faced while using the software. It would be helpful to collaborate and come up with solutions together. Thank you for your attention, and I look forward to hearing from the development team soon. |
This library provides a Python interface to consume the Google Trends unofficial API, we doesn't have any control about how the API behaves. Taken from the README:
You have to manage the errors yourself and retry the requests as needed. Cheers. |
Hi @rheophile10 Did you by any chance manage to repo a workaround to get_historical_interest? Thanks! |
Following. |
Hello, I am using pytrends to get hourly trends data using your API, but I get this message. """ There is discussion at: Has there been any fixes for this yet? Is there any alternative methods to get the hourly trends? I understand that the team does not have control on how google works, but please let me know if there is something I can do? I looked at this discussion, and from I understood, your Houry features was removed? I appreciate any help I can get! |
resolves #528
and passes tests.