Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Validate arguments before scrapping #147

Open
ngosang opened this issue Mar 26, 2021 · 1 comment
Open

[Feature request] Validate arguments before scrapping #147

ngosang opened this issue Mar 26, 2021 · 1 comment

Comments

@ngosang
Copy link
Contributor

ngosang commented Mar 26, 2021

We should validate the following parameters at the start. I'm getting validation errors after waiting for scrapping. I have to correct the arguments and start again to see if the import works.

  • source is valid
  • destination is valid
  • file exists and is json
$ python3 transfer_ratings.py --s trakt -d letterboxed
===== Trakt: performing login
===== loaded 2 movies from /home/xxxx/RatS/RatS/exports/20210326181821_Trakt_mod.json

ERROR: No inserter matching 'LETTERBOXED' found.

===== ABORTING =====
Available inserters:
 - ALLOCINE 
 - CRITICKER 
 - FILMAFFINITY 
 - FILMTIPSET 
 - ICHECKMOVIES 
 - IMDB 
 - LETTERBOXD 
 - LISTAL 
 - METACRITIC 
 - MOVIELENS 
 - MOVIEPILOT 
 - PLEX 
 - ROTTENTOMATOES 
 - TMDB 
 - TRAKT 
@ngosang ngosang changed the title Validate arguments before scrapping [Feature request] Validate arguments before scrapping Mar 26, 2021
@StegSchreck StegSchreck added this to Backlog in RatS via automation Mar 29, 2021
@StegSchreck StegSchreck added this to the v1.0 milestone Mar 29, 2021
@StegSchreck
Copy link
Owner

Your suggestion makes sense. Thanks for your input!

@StegSchreck StegSchreck removed this from the v1.0 milestone Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
RatS
  
Backlog
Development

No branches or pull requests

2 participants