Open akifusenet opened 4 years ago
Great suggestion for improved usability.
Hi, @akifusenet, I just added a commit that should fix this issue. Could you pull the latest commit and let us know if it fixed the problem?
Assigning to myself because I need to port this fix to new master
I am thinking it might be wiser if we provide a search config parameter such as --exact-match
I think the simplest way would be to split the search url into two parts: stem_url
and arguments
. The stem url would contain everything up to arguments, e.g., https://monster.com/jobs/search/
while arguments
contains all things like ?q=%22data+distribution+service%22
.
The latter can be simplified and clarified by using the urllib.parse.urlencode
in which you give the arguments as a dictionary. Strings will also be automatically converted to the URI encoding used for URLS.
Issue Template
Description
For example on indeed when you want to search for an exact phrase (multiple words) as keyword you put this phrase between double quotes.
When I want to use this feature on funnel it removes the double quotes and it returns wrong results.
Steps to Reproduce
Expected behavior
Normally when you write this keywords on indeed website this is the URL that is generated: https://www.indeed.com/jobs?q=%22data+distribution+service%22&l=Saratoga%2C+CA&radius=25
Actual behavior
But funnel generates this url: getting indeed page 0 : http://www.indeed.com/jobs?q=Data Distribution Service&l=Saratoga%2C+CA&radius=25&limit=50&filter=0&start=0
Environment
*Windows 10 Home