We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, when using the period function to limit dates it doesnt return any restults. Anyone have a fix?
The text was updated successfully, but these errors were encountered:
This isn't a fix to the codes, but manually making use of Google boolean search to limit dates. Below is what I use for articles less than a week old,
import datetime input_query = "{main_query} after:{after_date}" main_query = "Lorax of the forest" number_of_weeks = 1 after_date = (datetime.datetime.now()- datetime.timedelta(weeks=number_of_weeks )).strftime('%Y-%m-%d') input_query = input_query.format(main_query=main_query, after_date=after_date)
df_results = google_news.get_news(input_query)
Sorry, something went wrong.
in general have a look here: News Catcher API
I just added " when:30d" for the last 30days to my keyword.
I think that there is a general problem with the date range functionality and it could be the solution for all those: #60, #43, #47, #48
In #48 also is explained that it might be a problem with pip.
No branches or pull requests
Hello, when using the period function to limit dates it doesnt return any restults. Anyone have a fix?
The text was updated successfully, but these errors were encountered: