add vcr (to be removed later)
This commit is contained in:
@@ -8,6 +8,7 @@ import vcr
|
||||
url = "https://gc.com/t/{season_id}/{team_id}/{page}"
|
||||
|
||||
|
||||
# TODO Remove VCR
|
||||
@vcr.use_cassette(
|
||||
"gamechanger/fixtures/authenticated_session.yaml", record_mode="new_episodes"
|
||||
)
|
||||
@@ -71,6 +72,7 @@ def scrape_page(season_id, team_id, page):
|
||||
return json.loads(m)
|
||||
|
||||
|
||||
# TODO Remove VCR
|
||||
@vcr.use_cassette("gamechanger/fixtures/stats.yaml", record_mode="new_episodes")
|
||||
def stats(request):
|
||||
authenticated_session = get_authenticated_session(request)
|
||||
|
||||
Reference in New Issue
Block a user