Jump to content

mattsson

Member
  • Posts

    9
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by mattsson

  1. A workflow for Alfred 2 which lets you search for movies and see IMDb, Rotten Tomatoes and Metacritic scores for it.

     

    The workflow is based on the "Better IMDB Search" workflow by frankspin. It uses the OMDb API.
     
    Movie Ratings uses a single command:
     
    mr [query]: Looks up a movie matching the query.
     
    Using the copy shortcut will copy the movie's IMDb URL and clicking Enter will open the movie's IMDb page.

     

    p08m7VE.png

     

    Download latest release | Source

     

    v0.1

     

    - Initial release.

     

    v0.2

     

    - Workflow now asks user to input at least 2 search characters instead of showing "No results found".

     

    v1.0.1

     

    - Fixes results not appearing because of change in the OMDB API

  2. I took a quick look in their source code, and it looks it's just an AJAX call to a PHP script. The Javascript function called:

     

    function setCountry(e)
    {
      rcode = e.toUpperCase(), serviceStatusSpinner(!0, "Saving New Settings..."), window.setTimeout(function ()
      {
        $.ajax(
        {
          url: countryUrl,
          dataType: "jsonp",
          data: {
            code: e
          },
          success: function (e)
          {
            h && (serviceStatusSpinner(!1), rcode == e.current ? (showBar("dialog3", "country-set"), $("#messages #new-country").text(e.current_full)) : showBar("warning1", "country-set-error"))
          }
        })
      }, 1e3)
    }
     

    And the countryUrl variable points to 

    http://realcheck.unblock-us.com/set-country.php
    
×
×
  • Create New...