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

movies script returns empty variable values in results #237

Closed
2 of 9 tasks
Slipjack9600 opened this issue Aug 30, 2022 · 2 comments
Closed
2 of 9 tasks

movies script returns empty variable values in results #237

Slipjack9600 opened this issue Aug 30, 2022 · 2 comments

Comments

@Slipjack9600
Copy link

Slipjack9600 commented Aug 30, 2022

Issue Label:

  • Bug
  • New feature
  • Enhancement
  • New component

Description:
Regardless of argument (movie title) given, the script returns empty variables to the output. I checked the omdbapi URL strings and they seem legit -- i.e. I don't think omdbapi changed their formatting.

If its a bug make sure to include this section.

OS and OS version:

  • Mac
  • Linux 32 Bit
  • Linux 64 Bit
  • Windows 32 Bit
  • Windows 64 Bit

OS Version:

@thomastubby
Copy link
Contributor

Looks like the getMovieInfo() function is trying to use an invalid API key, see below:
http://www.omdbapi.com/?t=Inception&apikey=946f500a

Response "False"
Error "Invalid API key!"

Upon changing a newly generated API key, the script works.

thomastubby added a commit to thomastubby/Bash-Snippets that referenced this issue Apr 16, 2023
…stein#237 where no values are returned upon entering movie name.
alexanderepstein pushed a commit that referenced this issue Jul 5, 2023
…no values are returned upon entering movie name. (#239)
@alexanderepstein
Copy link
Owner

Should be closed with #239 thanks for the contribution 🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants