omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. midimuso

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 0
    • Controversial 0
    • Groups 0

    midimuso

    @midimuso

    0
    Reputation
    875
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    midimuso Unfollow Follow

    Latest posts made by midimuso

    • Add from Gist.wkflw Error on Line 52

      Get error while trying to import workflows using
      https://gist.github.com/omz/4303311 i.e. Add from Gist.wkflw

      Tried
      https://gist.github.com/4301281
      and
      https://gist.github.com/4595251
      both give error on line 52
      Workflow error (importing workflow)
      Ann error occurred in the action
      "Run Python Script": Line 52:
      Attribute Error: 'module' object has no attribute 'add_command'

      52 editor.add_command(name,content)

      Please Help.

      posted in Editorial
      midimuso
      midimuso
    • RE: Sharing Code on GitHub

      Please can someone update these scripts.
      I know you can use them if you remove the username in the URL , but I would like to be able
      to download directly via Browser using the JavaScript bookmarklet.
      (I'm totally new here , and have no idea how to go about trying to
      modify the script to strip out the Username in the URL)
      Thanks.

      posted in Pythonista
      midimuso
      midimuso
    • RE: Soundcloud Downloader

      There was an error message while trying this script -
      Line 20 Index Error:List index out of range.
      The original script refers to this URL in line 20
      m-a.sndcdn.com
      But when I looked at the source code for the mp3 I was trying to download
      I see that it is
      m-a-tb.sndcdn.com
      So I updated the Script with this new URL, in 2 places
      line 20
      line 24
      and tried again , this time it launched the iDownloads+ App
      and Downloaded OK.
      ..................................
      20 the_js = find_xtsite_js.rsplit('m-a-tb.sndcdn.com',1)[1].split('"',1)[0].split('/')[-1]
      21 print " .. getting client_id .. "
      22 new_headers = {'Accept-Encoding': 'identity', 'Connection': 'close'}
      23 sess.headers.update(new_headers)
      24 find_client_id = sess.get('http://m-a-tb.sndcdn.com/' + the_js)

      posted in Pythonista
      midimuso
      midimuso