Tool to archive GTFS-rt data
See the docker doc
- Update
config/config.json
to include related credentials - Make sure the implementation and metadata json of the feed you want to scrape is in
src/scraper/feeds/
In docker/prod/Dockerfile
, update the last CMD
step with correct feed you want to scrape
make local-prod-build
make local-prod-run
# you are now in shell in the docker container
# you can check the scraped files in
ls /src/data/
To inspect scraper log on the computer running docker
docker logs -f local-prod
To store them locally:
docker logs -f local-prod &> prod_run.log &
python3 /local/src/scraper/scrape.py -f YOUR_FEED
An example is included in example_mta_subway.txt
.