docs: update typo in example

pull/51/head
Cullen Watson 2023-09-07 13:37:53 -05:00 committed by GitHub
parent 4406f9350f
commit 6fcf7f666e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 14 deletions

View File

@ -9,7 +9,7 @@
"source": [ "source": [
"from jobspy import scrape_jobs\n", "from jobspy import scrape_jobs\n",
"import pandas as pd\n", "import pandas as pd\n",
"from IPython.display import display, HTML\n" "from IPython.display import display, HTML"
] ]
}, },
{ {
@ -34,18 +34,16 @@
"source": [ "source": [
"# example 1 (no hyperlinks, USA)\n", "# example 1 (no hyperlinks, USA)\n",
"jobs = scrape_jobs(\n", "jobs = scrape_jobs(\n",
" site_name=[\"linkedin\", \"zip_recruiter\"],\n", " site_name=[\"linkedin\"],\n",
" location='san francisco',\n", " location='san francisco',\n",
" search_term=\"engineer\",\n", " search_term=\"engineer\",\n",
" results_wanted=5,\n", " results_wanted=5,\n",
"\n", "\n",
" # use if you want to use a proxy\n", " # use if you want to use a proxy\n",
" # proxy=\"socks5://jobspy:5a4vpWtj8EeJ2hoYzk@ca.smartproxy.com:20001\",\n", " # proxy=\"socks5://jobspy:5a4vpWtj4EeJ2hoYzk@us.smartproxy.com:10001\",\n",
" # proxy=\"http://jobspy:5a4vpWtj8EeJ2hoYzk@ca.smartproxy.com:20001\",\n", " proxy=\"http://jobspy:5a4vpWtj4EeJ2hoYzk@us.smartproxy.com:10001\",\n",
" # proxy=\"https://jobspy:5a4vpWtj8EeJ2hoYzk@ca.smartproxy.com:20001\",\n", " #proxy=\"https://jobspy:5a4vpWtj4EeJ2hoYzk@us.smartproxy.com:10001\",\n",
"\n",
")\n", ")\n",
"\n",
"display(jobs)" "display(jobs)"
] ]
}, },
@ -97,9 +95,6 @@
" hyperlinks=True,\n", " hyperlinks=True,\n",
" results_wanted=5,\n", " results_wanted=5,\n",
" easy_apply=True\n", " easy_apply=True\n",
"\n",
"\n",
"\n",
")" ")"
] ]
}, },
@ -125,11 +120,10 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# example 4 - international indeed (no zip_recruiter)\n", "# example 4 - international indeed (no zip_recruiter)\n",
"result = scrape_jobs(\n", "jobs = scrape_jobs(\n",
" site_name=[\"indeed\"],\n", " site_name=[\"indeed\"],\n",
" location='berlin',\n",
" search_term=\"engineer\",\n", " search_term=\"engineer\",\n",
" country_indeed = \"Germany\",\n", " country_indeed = \"China\",\n",
" hyperlinks=True\n", " hyperlinks=True\n",
")" ")"
] ]
@ -165,7 +159,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.10.11" "version": "3.11.5"
} }
}, },
"nbformat": 4, "nbformat": 4,