skadogg / personal-tv-guide

Python-based JustWatch scraper
GNU General Public License v3.0
6 stars 7 forks source link

Added try/except to modules > data_bin_convert.py > bin_to_data() #98

Closed TechWithVP closed 6 months ago

TechWithVP commented 6 months ago

This Fixes #94

In modules > data_bin_convert.py > bin_to_data added try/except. So if it doesn't find .bin file it will return empty list.

TechWithVP commented 6 months ago

This Fixes #96

Updated 2 files

  1. classes > activity.py
  2. modules > justwatch.py > generate_movies_by_runtime_table

Changes:

skadogg commented 6 months ago

This is great, @TechWithVP! I'll take a look and test it out as soon as I can.

TechWithVP commented 6 months ago

@skadogg I have resolved typo runtime_str = runtime_str = str(data_movies_by_runtime[i].duration) if data_movies_by_runtime[i].duration != 0 else 'N/A' to runtime_str = str(data_movies_by_runtime[i].duration) if data_movies_by_runtime[i].duration != 0 else 'N/A'