fix script
This commit is contained in:
parent
9286f8bcdf
commit
46f91fac26
|
@ -22,7 +22,7 @@ def update_films_by_year_page(token_id, token_secret):
|
||||||
viewings = VCinemaUtils.get_vcinema_viewings(token_id, token_secret)
|
viewings = VCinemaUtils.get_vcinema_viewings(token_id, token_secret)
|
||||||
|
|
||||||
print("Retrieving movie data")
|
print("Retrieving movie data")
|
||||||
VCinemaUtils.add_imdb_data_to_viewings(viewings, 'year')
|
VCinemaUtils.add_imdb_data_to_viewings(viewings, ['year'])
|
||||||
|
|
||||||
print("Processing viewing data")
|
print("Processing viewing data")
|
||||||
viewings_by_year = VCinemaUtils.filter_viewings(viewings, 'year')
|
viewings_by_year = VCinemaUtils.filter_viewings(viewings, 'year')
|
||||||
|
@ -34,7 +34,7 @@ def update_films_by_year_page(token_id, token_secret):
|
||||||
page_id = "24"
|
page_id = "24"
|
||||||
|
|
||||||
print("Updating page")
|
print("Updating page")
|
||||||
Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, page_id, film_by_year_table)
|
Bookstack.update_page(VCinemaUtils.JACKNET_WIKI_URL, token_id, token_secret, page_id, markdown=film_by_year_table)
|
||||||
|
|
||||||
print("Done!")
|
print("Done!")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue