Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scrap Yahoo Finance using BS4
#5
(Aug-23-2018, 05:47 PM)Larz60+ Wrote: How is this done?, I don't know about this

   

as you can see there are several json files that are used to transfer information, e.g.

https://query1.finance.yahoo.com/v8/fina...m&range=1d

you can have a more detail look at them if you wish, to see available info. However OP was right - I was not able to find 50-day and 200-day MA. Maybe I didn't search thoroughly or they are calculated.

I also have script to download option chains using these json files:
https://github.com/boyank/yoc
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
Scrap Yahoo Finance using BS4 - by mr_byte31 - Aug-23-2018, 08:53 AM
RE: Scrap Yahoo Finance using BS4 - by buran - Aug-23-2018, 10:48 AM
RE: Scrap Yahoo Finance using BS4 - by mr_byte31 - Aug-23-2018, 11:04 AM
RE: Scrap Yahoo Finance using BS4 - by Larz60+ - Aug-23-2018, 05:47 PM
RE: Scrap Yahoo Finance using BS4 - by buran - Aug-23-2018, 06:16 PM
RE: Scrap Yahoo Finance using BS4 - by mr_byte31 - Aug-24-2018, 09:23 AM
RE: Scrap Yahoo Finance using BS4 - by Larz60+ - Aug-23-2018, 08:41 PM
RE: Scrap Yahoo Finance using BS4 - by Larz60+ - Aug-24-2018, 02:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Web scrap --Need help Lizardpython 4 1,064 Oct-01-2023, 11:37 AM
Last Post: Lizardpython
  I tried every way to scrap morningstar financials data without success so far sparkt 2 8,304 Oct-20-2020, 05:43 PM
Last Post: sparkt
  Web Scraping with Yahoo Finance miloellison 1 2,081 Jul-03-2020, 11:12 PM
Last Post: Larz60+
  Web scrap multiple pages anilacem_302 3 3,879 Jul-01-2020, 07:50 PM
Last Post: mlieqo
  Need logic on how to scrap 100K URLs goodmind 2 2,659 Jun-29-2020, 09:53 AM
Last Post: goodmind
  getting financial data from yahoo finance asiaphone12 7 7,050 Jun-15-2020, 05:49 AM
Last Post: mick_g
  Django finance tracker mkb3112 1 1,972 Apr-04-2020, 01:21 PM
Last Post: leeacto
  Scrap a dynamic span hefaz 0 2,723 Mar-07-2020, 02:56 PM
Last Post: hefaz
  scrap by defining 3 functions zarize 0 1,878 Feb-18-2020, 03:55 PM
Last Post: zarize
  Skipping anti-scrap zarize 0 1,902 Jan-17-2020, 11:51 AM
Last Post: zarize

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020