howawong / hong_kong_today_pig_supply_auction_prices

Hong Kong Today's live pig supply and auction prices

Scrapes www.fehd.gov.hk

Food and Environmental Hygiene Department 食物環境衞生署


This is a scraper that runs on Morph. To get started see the documentation

Contributors howawong

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... http://www.fehd.gov.hk/tc_chi/sh/data/supply_tw.html Traceback (most recent call last): File "scraper.py", line 33, in <module> parse_page("http://www.fehd.gov.hk/tc_chi/sh/data/supply_tw.html") File "scraper.py", line 14, in parse_page table = root.xpath('//table[@class=\'shrs_s1\']')[0] IndexError: list index out of range

Data

Downloaded 4 times by howawong

To download data sign in with GitHub

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

rows 10 / 355

date today_local_admission tomorrow_total_admission today_highest_price tomorrow_mainland_admission today_lowest_price today_total_admission today_mainland_admission tomorrow_local_admission today_average_price
2016-05-27T00:00:00+00:00
269
4040
1969
3940
1639
4171
3902
100
1806
2016-05-28T00:00:00+00:00
245
4160
2290
4060
1720
3828
3583
100
1827
2016-05-29T00:00:00+00:00
315
4500
1960
4400
1746
4634
4319
100
1825
2016-05-30T00:00:00+00:00
245
4180
1930
4080
1700
4731
4486
100
1808
2016-05-31T00:00:00+00:00
244
4010
1969
3910
1689
4458
4214
100
1793
2016-02-06T00:00:00+00:00
238
4040
1969
3940
1700
3763
3525
100
1815
2016-03-06T00:00:00+00:00
277
4070
1921
3970
1699
4301
4024
100
1806
2016-05-06T00:00:00+00:00
336
4210
1969
4110
1780
4834
4498
100
1842
2016-06-06T00:00:00+00:00
253
4260
1944
4160
1780
4515
4262
100
1843
2016-07-06T00:00:00+00:00
297
4360
1989
4260
1709
4915
4618
100
1825

Statistics

Average successful run time: 2 minutes

Total run time: about 18 hours

Total cpu time used: 4 minutes

Total disk space used: 58.6 KB

History

  • Auto ran revision 7c6b29cf and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 7c6b29cf and failed .
    nothing changed in the database
    1 page scraped
  • Auto ran revision 7c6b29cf and failed .
    nothing changed in the database
  • Auto ran revision 7c6b29cf and failed .
    nothing changed in the database
  • Auto ran revision 7c6b29cf and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history