Skip to content

Commit 4b5d863

Browse files
committed
Add J, Z and 7 trains
1 parent 90b2cec commit 4b5d863

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ transfers.txt
66
*.log
77
*.pyc
88
.cache
9+
.DS_Store

mtapi/mtapi.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,14 @@ def serialize(self):
5656

5757

5858
_FEED_URLS = [
59-
'http://datamine.mta.info/mta_esi.php?feed_id=1',
60-
'http://datamine.mta.info/mta_esi.php?feed_id=2',
61-
'http://datamine.mta.info/mta_esi.php?feed_id=16',
62-
'http://datamine.mta.info/mta_esi.php?feed_id=21',
63-
'http://datamine.mta.info/mta_esi.php?feed_id=26',
64-
'http://datamine.mta.info/mta_esi.php?feed_id=31'
59+
'http://datamine.mta.info/mta_esi.php?feed_id=1', # 123456S
60+
'http://datamine.mta.info/mta_esi.php?feed_id=2', # L
61+
'http://datamine.mta.info/mta_esi.php?feed_id=16', # NRQW
62+
'http://datamine.mta.info/mta_esi.php?feed_id=21', # BDFM
63+
'http://datamine.mta.info/mta_esi.php?feed_id=26', # ACE
64+
'http://datamine.mta.info/mta_esi.php?feed_id=51', # 7
65+
'http://datamine.mta.info/mta_esi.php?feed_id=36', # JZ
66+
'http://datamine.mta.info/mta_esi.php?feed_id=31' # G
6567
]
6668

6769
def __init__(self, key, stations_file, expires_seconds=60, max_trains=10, max_minutes=30, threaded=False):

0 commit comments

Comments
 (0)