Skip to content

Conversation

@roshow
Copy link

@roshow roshow commented Mar 19, 2013

I made an update to http_requester.py so you can put in the parameters for a request on a separate line from the url. So, for example, instead of:

GET http://www.youtube.com/results?search_query=batman&filters=hd

You can write it like this:

GET http://www.youtube.com/results
{ 'search_query': 'batman', 'filters': 'hd' }

Note that for this to work, you have to write the dictionary in one line without breaks. The dictionary can be written in any line following the url -- I have the script looking for anything that begins with curly brackets.

You can find my comments in the code by searching for "#roshow"

Thanks for this plugin! It's a big help.

@braindamageinc
Copy link
Owner

Hi, thanks for the update. i will merge as soon as possible (made some changes recently and i need to merge by hand).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants