You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get many errors when i try to use flinck. I've included those below. My intuition is that this is because the omdb api is not included in the url http://www.omdbapi.com/?t=Kurenai+no+buta+AKA+Porco+Rosso&y=1992&page=1&plot=short&tomatoes=False because when I visit it, I get a "No api key provided". Traceback (most recent call last): File "C:\Users\Suleman\AppData\Local\Programs\Python\Python38-32\Scripts\flinck-script.py", line 11, in <module> load_entry_point('flinck==0.3.2', 'console_scripts', 'flinck')() File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 829, in __call__ return self.main(*args, **kwargs) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 782, in main rv = self.invoke(ctx) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 610, in invoke return callback(*args, **kwargs) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\flinck\__init__.py", line 87, in flinck_cli item = brain.search_filename(fpath, by) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\flinck\brain.py", line 141, in search_filename item = search_by(title, year, fields) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\flinck\brain.py", line 113, in search_by item = omdb.get(**query) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\omdb\api.py", line 23, in get return _client.get(**params) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\omdb\client.py", line 106, in get data = self.request(timeout=timeout, **params).json() File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\omdb\client.py", line 55, in request res.raise_for_status() File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\requests\models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://www.omdbapi.com/?t=Kurenai+no+buta+AKA+Porco+Rosso&y=1992&page=1&plot=short&tomatoes=False
The text was updated successfully, but these errors were encountered:
I get many errors when i try to use flinck. I've included those below. My intuition is that this is because the omdb api is not included in the url http://www.omdbapi.com/?t=Kurenai+no+buta+AKA+Porco+Rosso&y=1992&page=1&plot=short&tomatoes=False because when I visit it, I get a "No api key provided".
Traceback (most recent call last): File "C:\Users\Suleman\AppData\Local\Programs\Python\Python38-32\Scripts\flinck-script.py", line 11, in <module> load_entry_point('flinck==0.3.2', 'console_scripts', 'flinck')() File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 829, in __call__ return self.main(*args, **kwargs) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 782, in main rv = self.invoke(ctx) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 1066, in invoke return ctx.invoke(self.callback, **ctx.params) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\click\core.py", line 610, in invoke return callback(*args, **kwargs) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\flinck\__init__.py", line 87, in flinck_cli item = brain.search_filename(fpath, by) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\flinck\brain.py", line 141, in search_filename item = search_by(title, year, fields) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\flinck\brain.py", line 113, in search_by item = omdb.get(**query) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\omdb\api.py", line 23, in get return _client.get(**params) File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\omdb\client.py", line 106, in get data = self.request(timeout=timeout, **params).json() File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\omdb\client.py", line 55, in request res.raise_for_status() File "c:\users\suleman\appdata\local\programs\python\python38-32\lib\site-packages\requests\models.py", line 940, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://www.omdbapi.com/?t=Kurenai+no+buta+AKA+Porco+Rosso&y=1992&page=1&plot=short&tomatoes=False
The text was updated successfully, but these errors were encountered: