diff --git a/update_films_by_year_page.py b/update_films_by_year_page.py index da3b14d..ff86e07 100644 --- a/update_films_by_year_page.py +++ b/update_films_by_year_page.py @@ -22,7 +22,7 @@ def update_films_by_year_page(token_id, token_secret): viewings = VCinemaUtils.get_vcinema_viewings(token_id, token_secret) print("Retrieving movie data") - VCinemaUtils.add_imdb_data_to_viewings(viewings, 'year') + VCinemaUtils.add_imdb_data_to_viewings(viewings, ['year']) print("Processing viewing data") 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" 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!")