mirror of
https://github.com/Bunsly/JobSpy.git
synced 2026-03-05 03:54:31 -08:00
package structure
This commit is contained in:
10
README.md
10
README.md
@@ -14,7 +14,7 @@
|
||||
### Usage
|
||||
|
||||
```python
|
||||
from jobscrape import scrape_jobs
|
||||
from jobspy import scrape_jobs
|
||||
import pandas as pd
|
||||
|
||||
jobs: pd.DataFrame = scrape_jobs(
|
||||
@@ -26,17 +26,17 @@ jobs: pd.DataFrame = scrape_jobs(
|
||||
if jobs.empty:
|
||||
print("No jobs found.")
|
||||
else:
|
||||
#1 print
|
||||
# 1 print
|
||||
pd.set_option('display.max_columns', None)
|
||||
pd.set_option('display.max_rows', None)
|
||||
pd.set_option('display.width', None)
|
||||
pd.set_option('display.max_colwidth', 50) # set to 0 to see full job url / desc
|
||||
print(jobs)
|
||||
|
||||
#2 display in Jupyter Notebook
|
||||
# 2 display in Jupyter Notebook
|
||||
# display(jobs)
|
||||
|
||||
#3 output to csv
|
||||
|
||||
# 3 output to csv
|
||||
# jobs.to_csv('jobs.csv', index=False)
|
||||
```
|
||||
|
||||
|
||||
0
python_jobspy/tests/__init__.py
Normal file
0
python_jobspy/tests/__init__.py
Normal file
@@ -1,4 +1,4 @@
|
||||
from jobscrape import scrape_jobs
|
||||
from jobspy import scrape_jobs
|
||||
|
||||
|
||||
def test_indeed():
|
||||
@@ -1,4 +1,4 @@
|
||||
from jobscrape import scrape_jobs
|
||||
from jobspy import scrape_jobs
|
||||
|
||||
|
||||
def test_ziprecruiter():
|
||||
Reference in New Issue
Block a user