Python Forum
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get a table from a website
#1
I am a newbie to programming. I need help designing code to download the table of members of an etf from the website
https://www.ishares.com/us/products/2397...sp-500-etf

Any help or leads will be greatly appreciated.
Reply
#2
What exactly do you want scraped? I dont see anything regarding members. Do you have to be logged in?

library for scrapping web sites
BeautifulSoup

if the site has javascript
Selenium
Recommended Tutorials:
Reply
#3
he wants the members of the ETF (i.e. holdings of securities that constitute the ETF)

you can get json data from following link
https://www.ishares.com/us/products/2397...eType=json

also you can download a csv data/file
https://www.ishares.com/us/products/2397...aType=fund
https://www.ishares.com/us/products/2397...leType=csv
you will need to use Requests and BeautifulSoup
Reply


Forum Jump:

User Panel Messages

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