You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Configure username and password of your NHLTV account
145
-
USERNAME = ""
146
-
PASSWORD = ""
147
-
* Configure your team, see full list below TEAMID entry
148
-
TEAMID = "17"
149
-
* save changes and close globals.py
150
-
151
-
Note: Make sure to keep the formatting and all settings surrounded by quotes.
152
-
OS X TextEdit is messing up the quotes by turning normal up quotes into some special up-quotes that python does not understand. On OSX You might want to use the sublime text editor instead see https://www.sublimetext.com/
164
+
```
153
165
154
166
## Run dl-nhltv
167
+
BEWARE ! This early version stores settings.json and temporary files in the folder you run it from!
168
+
Temporary files can exceed 5GB on your drive you want at least 10GB free space!
169
+
Best is to have a folder per team line to run the command in like $HOME/NHL/Detroit /$HOME/NHL/Capitals etc..
170
+
155
171
* Press Command+Space and type Terminal and press enter/return key.
156
172
* Run in Terminal app
157
-
* type “cd” and hit space then drag and drop your dl-nhltv-master folder into the Terminal window
158
-
* Hit enter
159
-
* Run
160
173
```
161
-
python2.7 nhltv.py -t Detroit -u yourNhlUserName -p yourNhlPassword
174
+
nhltv -t Detroit
162
175
```
163
-
Note: your username and password gets stored in settings.json folder so you don't need to flash it on the comamnd line everyt time.
164
176
165
177
# How dl-nhltv works
166
-
When it runs it will check the nhl.tv servers for a new game for your team and if it finds it then it will download it. Then after it downloads it will do a loop and start looking for the next game. It saves the id of the last game so if you aren't getting the results you expect then take a look at the settings.json file and set the game id manually to be lower than the gameid you want to download. It also saves the username and password in the settings.json file
178
+
When it runs it will check the nhl.tv servers for a new game for your team and if it finds it then it will download it. Then after it downloads it will do a loop and start looking for the next game. It saves the id of the last game in settings.json in the folder you ran it from so if you aren't getting the results you expect then take a look at the settings.json file and set the game id manually to be lower than the gameid you want to download. It also saves the username and password in the settings.json file when you pass it in via -u -p. Otherwise it will ask when the cookies run old.
167
179
168
-
##Files and folders
169
-
dl-nhltv downloads the parts of a stream into a temp/ subfolder below its source code.
180
+
# Files and folders
181
+
dl-nhltv downloads the parts of a stream into a temp/ subfolder below the folder you started from.
170
182
Per game you have a different log file for the download.
171
183
You can watch the progress of the download by looking into the temp folder.
0 commit comments