A very useful NFL gamebook from 1982.. Even NFLGSIS is slim pickings for early 80s game books. Coverage of the game; any other use of this material is prohibited without the written permission of the National Football League. Updated: National Football League Game Summary.
PermalinkJoin GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up Find file Copy path
Cannot retrieve contributors at this time
from scrapy.spider import BaseSpider |
from scrapy.selector import Selector |
from scrapy.http import Request |
import re |
import os |
import json |
classNflScheduleSpider(BaseSpider): |
name ='schedulespider' |
allowed_domains = ['nfl.com'] |
start_urls = [ |
'http://www.nfl.com/schedule', |
] |
GAMEBOOK_BASE_DIR='gamebooks' |
NFL_BASE_URL='http://www.nfl.com' |
GAMEBOOK_URL_PATTERN=r'/liveupdate/gamecenter/d+/w+.pdf' |
WEEK_PATTERN=r'weeks+:s+'(d+)',' |
SEASONTYPE_PATTERN=r'seasontypes+:s+'(w+)',' |
SEASON_PATTERN=r'years+:s+(d{4}),' |
GAMEID_PATTERN=r'ids+:s+'(d{10})',' |
GAMEKEY_PATTERN=r'keys+:s+'(d{5})',' |
TEAMS_PATTERN=r'teamss+:s+({.*}),' |
defsave_gamebook(self, response): |
'' |
Process and save an NFL games gamebook PDF |
'' |
gameid = response.meta.get('gameid', 0) |
gamekey = response.meta.get('gamekey', 0) |
team1 = response.meta.get('team1', 'UNKNOWN') |
team2 = response.meta.get('team2', 'UNKNOWN') |
season = response.meta.get('season', 0) |
seasontype = response.meta.get('seasontype', 'unknown') |
week = response.meta.get('week', 0) |
directory = os.path.join( |
self.GAMEBOOK_BASE_DIR, |
str(season), |
seasontype +str(week), |
) |
filename ='{}-{}_{}-{}.pdf'.format(gameid, gamekey, team1, team2) |
ifnot os.path.isdir(directory): |
os.makedirs(directory) |
# Replace the gamebook file |
withopen(os.path.join(directory, filename), 'w') as fd: |
fd.write(response.body) |
defparse_gamecenter(self, response): |
'' |
Parses and processes the an individual game's gamecenter page |
'' |
metadata =self._game_metadata(response) |
for gamebook_url inset(re.findall(self.GAMEBOOK_URL_PATTERN, response.body)): |
url =self.NFL_BASE_URL+ gamebook_url |
yield Request(url, callback=self.save_gamebook, meta=metadata) |
defparse(self, response): |
'' |
Parses and processes the NFL schedule page |
'' |
sel = Selector(response) |
# Parse game links and then call this method for each one |
games = sel.xpath('//div[@data-gamestate='POST']') |
for game in games: |
url = game.xpath('@data-gc-url').extract()[0] |
yield Request(url, callback=self.parse_gamecenter) |
def_game_metadata(self, response): |
gameid_match = re.search(self.GAMEID_PATTERN, response.body) |
gameid =int(gameid_match.groups()[0]) if gameid_match isnotNoneelse0 |
gamekey_match = re.search(self.GAMEKEY_PATTERN, response.body) |
gamekey =int(gamekey_match.groups()[0]) if gamekey_match isnotNoneelse0 |
week_match = re.search(self.WEEK_PATTERN, response.body) |
week =int(week_match.groups()[0]) if week_match isnotNoneelse0 |
season_match = re.search(self.SEASON_PATTERN, response.body) |
season =int(season_match.groups()[0]) if season_match isnotNoneelse0 |
seasontype_match = re.search(self.SEASONTYPE_PATTERN, response.body) |
seasontype = seasontype_match.groups()[0] if seasontype_match isnotNoneelse'unknown' |
teams_match = re.search(self.TEAMS_PATTERN, response.body) |
if teams_match: |
teams = json.loads(teams_match.groups()[0]).keys() |
else: |
teams = ['UNKNOWN', 'UNKNOWN'] |
return { |
'gameid': gameid, |
'gamekey': gamekey, |
'week': week, |
'season': season, |
'seasontype': seasontype, |
'team1': teams[0], |
'team2': teams[1], |
} |
Copy lines Copy permalink
| ||||||||||||||||||
| ||||||||||||||||||
Date | January 20, 1975 | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Stadium | Orange Bowl, Miami, Florida | |||||||||||||||||
MVP | James Harris (Los Angeles Rams) | |||||||||||||||||
Referee | Dick Jorgensen | |||||||||||||||||
Attendance | 26,484 | |||||||||||||||||
TV in the United States | ||||||||||||||||||
Network | ABC | |||||||||||||||||
Announcers | Frank Gifford, Howard Cosell & Alex Karras | |||||||||||||||||
|
The 1975 Pro Bowl was the NFL's 25th annual all-star game which featured the outstanding performers from the 1974 season. The game was played on Monday, January 20, 1975, at the Orange Bowl in Miami, Florida. The final score was NFC 17, AFC 10. James Harris of the Los Angeles Rams was named the game's Most Valuable Player.[1]
Attendance at the game was 26,484.[2]John Madden of the Oakland Raiders coached the AFC while the NFC was led by the Los Angeles Rams' Chuck Knox.[3] The referee for the game was Dick Jorgensen.[4] It was the first of five straight Pro Bowls played on ABC's Monday Night Football package.
References[edit]
![Nfl official rules Nfl official rules](https://digitalcare.nfl.com/hc/article_attachments/360014688714/Game_Book_Location.png)
- ^'Harris passes lead NFC to Pro Bowl win'. Pittsburgh Post-Gazette. AP. January 21, 1975. p. 18. Retrieved January 17, 2012.
- ^'NFL Pro Bowl history'. CBSSports.com. Archived from the original on January 16, 2012. Retrieved January 17, 2012.
- ^'The 1975 Pro Bowl'. Bolding Sports Research. Archived from the original on January 17, 2012. Retrieved January 17, 2012.
- ^'1975 Pro Bowl game book'(PDF). NFL Game Statistics & Information. National Football League. Archived(PDF) from the original on January 30, 2012. Retrieved January 30, 2012.
External links[edit]
- '1975 Pro Bowl players'. Pro-Football-Reference.com. Archived from the original on January 30, 2012. Retrieved January 30, 2012.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=1975_Pro_Bowl&oldid=919180802'