CSCG / nyse_data_scraper

Yahoo Finance Stock Scraper (NYX)


Scrapes a Yahoo Finance Stock Page and builds data set for daily stock information. Modify HTML as needed for different stock pages.

Forked from ScraperWiki

Contributors CSCG

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Traceback (most recent call last): File "scraper.py", line 63, in <module> info['close'] = float(root.cssselect("span.time_rtq_ticker")[0].text_content()) IndexError: list index out of range

Data

Downloaded 3 times by MikeRalphson

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (26 KB) Use the API

rows 10 / 112

id percentChange close open markcap ask_quant prevClose spreadMax pe spreadMin accessTime exchange bid avVolume volume beta ask ticker change bid_quant eps yield div 1yrTarEst
1
1.49%
32.74
32.2
7.96B
1000
32.26
22.25
19.37
33.38
2013-01-05T09:16:28.170180
NYSE
32.06
4625980
3473961
29.97
32.8
NYX
0.48
300
1.69
3.70%
1.2
29.97
2
1.49%
32.74
32.2
7.96B
1000
32.26
22.25
19.37
33.38
2013-01-06T20:01:13.813940
NYSE
32.06
4625980
3473961
29.97
32.8
NYX
0.48
300
1.69
3.70%
1.2
29.97
3
0.86%
32.73
32.45
7.95B
500
32.45
22.25
19.37
33.38
2013-01-12T12:29:25.251861
NYSE
31.78
4807940
2956502
32.22
32.73
NYX
0.28
300
1.69
3.70%
1.2
32.22
4
0.97%
33.33
33.0
8.10B
100
33.01
22.25
19.72
33.42
2013-01-21T23:01:36.158875
NYSE
33.11
4896190
4668982
32.66
33.88
NYX
0.32
300
1.69
3.60%
1.2
32.66
5
0.48%
33.61
33.4
8.17B
100
33.45
22.25
19.89
33.67
2013-01-25T23:01:18.360263
NYSE
33.54
5096260
2834155
32.66
33.61
NYX
0.16
2800
1.69
3.60%
1.2
32.66
6
0.51%
33.88
33.56
8.23B
4600
33.71
22.25
20.03
33.77
2013-01-29T18:19:17.106139
NYSE
33.85
5123310
1250181
33.3
33.86
NYX
0.17
600
1.69
3.60%
1.2
33.3
7
1.41%
34.44
33.95
8.37B
100
33.96
22.25
20.38
33.99
2013-01-31T02:14:48.599891
NYSE
34.0
5073100
4585713
34.24
34.48
NYX
0.48
200
1.69
3.60%
1.2
34.24
8
0.64%
34.79
34.72
8.45B
200
34.57
22.25
20.59
35.05
2013-02-03T01:12:16.025861
NYSE
33.65
5120060
2680054
34.31
36.64
NYX
0.22
400
1.69
3.50%
1.2
34.31
9
0.28%
36.24
36.22
8.81B
200
36.14
22.25
26.07
36.3
2013-02-09T17:21:52.780529
NYSE
21.3
5006880
2864875
34.97
36.59
NYX
0.1
200
1.39
3.30%
1.2
34.97
10
1.14%
37.35
37.09
9.07B
600
36.93
22.25
26.86
37.81
2013-02-22T18:13:54.745650
NYSE
37.33
5127730
681286
35.44
37.34
NYX
0.42
1100
1.39
3.20%
1.2
35.44

Statistics

Total run time: less than 20 seconds

Total cpu time used: less than 5 seconds

Total disk space used: 46.7 KB

History

  • Manually ran revision 3227444a and failed .
    nothing changed in the database
  • Forked from ScraperWiki

Scraper code

Python

nyse_data_scraper / scraper.py