-
Notifications
You must be signed in to change notification settings - Fork 276
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
News Date Issue #190
Comments
Instead of the real date they put Today and fast fix at line 113 in main_func.py should be:
Hopefully they didn't use Yesterday and so on. I didn't find news from yesterday to test it but for the one from today it works. It needs more work if you want to use the exact time from today, not the time of now. Also I see you have white space in the date/time string. You should also implement the fix number 2 from my suggested fixes in #182. |
Any feedback? Is it working for you now or you just don't know how to apply the fix? |
Hi, i got the same error as well.
Is this the correct fix? |
No, the final result for the function
I just test this function to get the AAPL news (the same example from the front page) and it works. And restart the Python session after applying the fix, otherwise the cached old one will be used if already it is imported. |
Still no feedback to just say it works, thanks or it doesn't work and to provide the error information. No motivation to waste more of my valuable time on this project when the one asking for help doesn't want to spend even 10 seconds for a simple feedback. You should wait for the official fix releases one day. Sorry. |
Apologies - I can confirm that the fix did indeed work. |
this is my code:
|
fix from @AGG2017 works, why didn't it get merged to the master branch ? |
I applied the fix from @AGG2017, but am getting a different error message now, so was wondering if something changed more recently. Using the example: The following is returned: By chance, does anyone have a new fix for the function get_news to resolve this error ? Very new to this and not sure what this error message means. Any help would be greatly appreciated! |
using the example:
finviz.get_news('AAPL')
the following is returned:
ValueError: time data '\r\n Today 11:17AM\r\n ' does not match format '%b-%d-%y %I:%M%p'
Did something change on the FinViz end in the last week ?
The text was updated successfully, but these errors were encountered: