Giter Site home page Giter Site logo

Comments (5)

ongaq avatar ongaq commented on June 10, 2024 1

It may have already been solved, but how about changing $apiURL to:

$apiURL = 'https://developer.mozilla.org/api/v1/search/en-US?topic=js&q=';

from alfred-workflows.

ianizaguirre avatar ianizaguirre commented on June 10, 2024

closed by mistake , still looking for help lol

from alfred-workflows.

ianizaguirre avatar ianizaguirre commented on June 10, 2024

It may have already been solved, but how about changing $apiURL to:

$apiURL = 'https://developer.mozilla.org/api/v1/search/en-US?topic=js&q=';

@ongaq Yea I saw that in the code itself but I am not sure how to change that variable within the actual Alfred Settings. So when I go to powerpack and click on this workflow, I don't see an easy way to adjust this url. From what I am seeing, I would have to fork this on my own to change the url and make my own workflow, or is there any easier way?

from alfred-workflows.

ongaq avatar ongaq commented on June 10, 2024

If you rename MDNSearch.alfredworkflow to MDNSearch.zip and unzip it, search.php is included, so after rewriting it, compress it to zip in the same way and then you can use it if you return to MDNSearch.alfredworkflow!

from alfred-workflows.

ianizaguirre avatar ianizaguirre commented on June 10, 2024

@ongaq if you unzip it and then just zip it again and rename it back to MDNSearch.alfredworkflow the file size increases for some reason from 18kb to 19kb and then the error that its an invalid workflow shows up when trying to import it....

Found another way to solve it though, all I had to do was find the workflow location that was already unzipped and being used by alfred and edit the file there. This way it avoids me having to zip and unzip anything because i found the file location alfred references when a workflow is added, you can do this easily by clicking here:
image

from alfred-workflows.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.