Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

        def parseURIInfo(uri, is_base64encode = False):
    if not isinstance(uri, (str, unicode)):
        return []
    if is_base64encode:
        uri = base64.b64decode(uri)
    tmp_uris = uri.split('\n')
    uris = []
    for uri in tmp_uris:
        uris.extend(uri.split(','))

    parsed_uris = []
    rdl = RealDownloadLink()
    for uri in uris:
        parsed_uris.append(rdl.parse(uri))
    return parsed_uris
        


src/a/l/AlfredWorkflow.com-HEAD/Sources/Workflows/download-station/ds.py   AlfredWorkflow.com(Download)
    def createTask(self):
        if not alfred.argv(3):
            alfred.exitWithFeedback(title='ERROR', subtitle='No TasK Found.')
        feedback = alfred.Feedback()
        tasks = util.parseURIInfo(alfred.argv(3))

src/a/l/alfred-workflows-HEAD/src/download-station/ds.py   alfred-workflows(Download)
    def createTask(self):
        if not alfred.argv(3):
            alfred.exitWithFeedback(title='ERROR', subtitle='No TasK Found.')
        feedback = alfred.Feedback()
        tasks = util.parseURIInfo(alfred.argv(3))