tone Posted November 27, 2017 Author Posted November 27, 2017 Big thanks to @vitor for his help in enhancing this workflow. He's added the OMDb API key as a workflow environment variable as well as implemented OneUpdater (auto-updates). vitor and cands 2
geena_chavez Posted December 22, 2017 Posted December 22, 2017 Is it planned in the future to add Trakt.tv support?
Mohammad Alotaibi Posted February 22, 2018 Posted February 22, 2018 I was hoping to support IMDB tt no.
sr_navarre Posted February 22, 2018 Posted February 22, 2018 Does anyone have a working download link for this workflow?
vitor Posted February 22, 2018 Posted February 22, 2018 @sr_navarre The top post links to the Github releases page that has the download.
sr_navarre Posted February 22, 2018 Posted February 22, 2018 @vitor Thanks, but when I click any of the Github links I get "Failed to open page."
vitor Posted February 22, 2018 Posted February 22, 2018 36 minutes ago, sr_navarre said: @vitor Thanks, but when I click any of the Github links I get "Failed to open page." Can you open any Github page? Seems like it might be blocked. What about Packal?
sr_navarre Posted February 22, 2018 Posted February 22, 2018 @vitor You're right, it's the network I'm on that's blocking Github. Oh, well. I'll try it when I get home. Thanks!
romebot Posted February 11, 2020 Posted February 11, 2020 Hello, this seemed to be working before, but now, when I find a movie and hit enter on the rotten tomatoes icon to open a browser window and search in rottentomatoes.com, I always get "no results found" and then I have to manually type in the movie again in the search bar. What I found was that in the url, the workflow adds a "+" between words, whereas in a regular site search, there are spaces. How can I fix this? Thx!
tone Posted February 11, 2020 Author Posted February 11, 2020 (edited) Hi @romebot! It's been a while since I've done anything to this workflow, but the issue should now be fixed with the new release on github. Thanks! Edited February 13, 2020 by tone JJJJ 1
vitor Posted January 24, 2021 Posted January 24, 2021 1 hour ago, Feuizl said: Could you please update this? To do what? This Workflow has gotten an update last month and works fine. There’s nothing actionable about your request; if you have an issue, you need to say what it is. deanishe and Feuizl 2
Feuizl Posted January 24, 2021 Posted January 24, 2021 Ah, please forgive me - Little Snitch had blocked the connection. It works fine as you said. Thank you for this workflow!
Southgirl Posted March 3, 2021 Posted March 3, 2021 I recently updated this workflow and it stopped working. My internet connection is working fine, I also checked Little Snitch but Alfred is not blocked. Tried reinstalling it, but keep getting the same error. [14:31:17.000] Movie and TV Show Search[Script Filter] Queuing argument '' [14:31:17.109] Movie and TV Show Search[Script Filter] Script with argv '' finished [14:31:22.255] Movie and TV Show Search[Script Filter] Queuing argument 'the good wife' [14:31:23.023] Movie and TV Show Search[Script Filter] Script with argv '(null)' finished [14:31:23.027] STDERR: Movie and TV Show Search[Script Filter] 14:31:22 workflow.py:2225 DEBUG Workflow version : 2.8.0 14:31:22 workflow.py:1628 DEBUG Reading settings from `/Users/XX/Library/Application Support/Alfred/Workflow Data/com.mcknight.movies/settings.json` ... 14:31:22 workflow.py:2423 DEBUG Set last run version : 2.8.0 14:31:22 workflow.py:2267 DEBUG Workflow finished in 0.502 seconds. [14:31:23.027] Movie and TV Show Search[Script Filter] <?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Uh oh... something went wrong</title><subtitle>Please check your internet connection.</subtitle></item></items>
tone Posted March 4, 2021 Author Posted March 4, 2021 20 hours ago, Southgirl said: I recently updated this workflow and it stopped working. My internet connection is working fine, I also checked Little Snitch but Alfred is not blocked. Tried reinstalling it, but keep getting the same error. Hi @Southgirl, To rule out a network issue, you could try going to https://api.themoviedb.org/3/. If you don't receive the following, it means something on your network is blocking communication: {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} If you are still having issues, you'll have to provide more details (version of Alfred, Mac OS, python, etc) and we can try to get to the bottom of it!
Southgirl Posted March 4, 2021 Posted March 4, 2021 6 hours ago, tone said: {"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false} Hi @tone, I got the same message. I'm on 10.11.6 and Alfred version is 4.3.2. Now, the python version is 2.7.10 according to Terminal. But then I remembered I had updated it recently, so Alfred shows me the newer version. I thought updating Python automatically got rid of older versions? Let me know if you need more info.
tone Posted March 5, 2021 Author Posted March 5, 2021 (edited) Hi @Southgirl. I'm struggling to find a reason for this issue. It really seems to be a network issue. A couple more things you can try: Try hitting this URL to see if it works. Try disabling Little Snitch temporarily. Edited March 5, 2021 by tone
Southgirl Posted March 5, 2021 Posted March 5, 2021 (edited) So, I clicked on that URL and both times (with and without Little Snitch) I got a page with all kinds of information about the show on my search. The worklfow still keeps giving me the same connection error though (both times as well). It worked flawlessly with the version I had before (from 2016, if I'm not mistaken). Is there something in the latest update that might not work on 10.11? Tested it with the VPN off, but no luck. Tested it on a MacBook Pro running on 10.13.6 as well, it works fine there. Edited March 5, 2021 by Southgirl
deanishe Posted March 6, 2021 Posted March 6, 2021 (edited) On 3/4/2021 at 9:34 PM, Southgirl said: I thought updating Python automatically got rid of older versions? Only older versions you installed the same way. It never touches the system Python, which is what the workflow uses. Also, the system Python is Python 2. That isn't compatible with the Python 3 you've installed. The problem you're having is almost certainly due to how old your OS is. It has an ancient version of OpenSSL that doesn't support the HTTPS encryption a lot of websites use. As Python uses OpenSSL, it can't connect to such websites. You will have this issue with many workflows written in Python and probably other languages, too. If you can't update to at least High Sierra, you could maybe get them to work by installing Python 2 with Homebrew and editing the workflows to use /usr/local/bin/python instead of /usr/bin/python. Edited March 6, 2021 by deanishe tone 1
Southgirl Posted March 6, 2021 Posted March 6, 2021 I'll try to install a newer OS this week, and will let you guys know how it went. Thank you both! tone 1
deanishe Posted March 7, 2021 Posted March 7, 2021 @Southgirl You could try running these commands in Terminal to see which error message(s) you get. /usr/bin/python -c 'import urllib; urllib.urlopen("https://api.themoviedb.org/3/")' and /usr/bin/python -c 'import urllib; urllib.urlopen("https://github.com/")' Then we'll know if you do actually need to update your OS. tone 1
Southgirl Posted March 8, 2021 Posted March 8, 2021 On 3/7/2021 at 3:58 AM, deanishe said: @deanishe Hello, this is what I got. /usr/bin/python -c 'import urllib; urllib.urlopen("https://api.themoviedb.org/3/")' /usr/bin/python -c 'import urllib; urllib.urlopen("https://api.themoviedb.org/3/")' Traceback (most recent call last): File "<string>", line 1, in <module> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 87, in urlopen return opener.open(url) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 213, in open return getattr(self, name)(url) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 443, in open_https h.endheaders(data) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders self._send_output(message_body) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output self.send(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send self.connect() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect server_hostname=server_hostname) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket _context=self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__ self.do_handshake() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake self._sslobj.do_handshake() IOError: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) /usr/bin/python -c 'import urllib; urllib.urlopen("https://github.com/")' /usr/bin/python -c 'import urllib; urllib.urlopen("https://github.com/")' Traceback (most recent call last): File "<string>", line 1, in <module> File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 87, in urlopen return opener.open(url) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 213, in open return getattr(self, name)(url) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 443, in open_https h.endheaders(data) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1049, in endheaders self._send_output(message_body) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 893, in _send_output self.send(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 855, in send self.connect() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1274, in connect server_hostname=server_hostname) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 352, in wrap_socket _context=self) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 579, in __init__ self.do_handshake() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 808, in do_handshake self._sslobj.do_handshake() IOError: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
deanishe Posted March 8, 2021 Posted March 8, 2021 Thanks. Definitely looks like it's the OpenSSL issue. I think updating to High Sierra or later is the only way to fix this.
Southgirl Posted March 21, 2021 Posted March 21, 2021 Finally had time to update, and it's working great on High Sierra. deanishe and tone 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now