Skip to content

Commit

Permalink
rename constant
Browse files Browse the repository at this point in the history
  • Loading branch information
skyfenton committed Dec 10, 2024
1 parent 4b2733a commit 0674418
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mediabridge/data_processing/wiki_to_netflix.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class MovieData:

# need Genres, Directors, Title, year?

user_agent = "Noisebridge MovieBot 0.0.1/Audiodude <audiodude@gmail.com>"

USER_AGENT = "Noisebridge MovieBot 0.0.1/Audiodude <audiodude@gmail.com>"
DEFAULT_TEST_ROWS = 100


Expand Down Expand Up @@ -229,7 +228,7 @@ def process_data(num_rows=None, output_missing_csv_path=None):

netflix_csv = OUTPUT_DIR.joinpath("movie_titles.csv")

enriched_movies = wiki_query(netflix_data, user_agent)
enriched_movies = wiki_query(netflix_data, USER_AGENT)

num_rows = len(enriched_movies)

Expand Down

0 comments on commit 0674418

Please sign in to comment.