PaulMcInnis / JobFunnel

Scrape job websites into a single spreadsheet with no duplicates.
MIT License
1.78k stars 210 forks source link

Allow exact matches and create greater abstraction of the base scraper class. #114

Closed markkvdb closed 3 years ago

markkvdb commented 3 years ago

Allow exact matches and create greater abstraction of the base scraper class

Description

Context of change

Please add options that are relevant and mark any boxes that apply.

Type of change

Please mark any boxes that apply.

How Has This Been Tested?

The only real new functionality is allowing for exact queries. Testing this consists of making sure that the CLI flag and YAML entry are properly handled. This was easy since I just follow the procedure of similar_results. The actual change in the code base to allow this was a single line to add quotes to query, hence little testing is required.

Checklist:

Please mark any boxes that have been completed.

codecov-commenter commented 3 years ago

Codecov Report

Merging #114 into master will increase coverage by 1.80%. The diff coverage is 37.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
+ Coverage   35.72%   37.53%   +1.80%     
==========================================
  Files          22       22              
  Lines        1447     1420      -27     
==========================================
+ Hits          517      533      +16     
+ Misses        930      887      -43     
Impacted Files Coverage Δ
jobfunnel/config/manager.py 30.43% <ø> (+0.64%) :arrow_up:
jobfunnel/config/settings.py 66.66% <ø> (ø)
jobfunnel/backend/scrapers/base.py 36.01% <31.66%> (-3.48%) :arrow_down:
jobfunnel/backend/scrapers/monster.py 32.11% <38.09%> (+5.07%) :arrow_up:
jobfunnel/backend/scrapers/indeed.py 34.10% <40.00%> (+7.11%) :arrow_up:
jobfunnel/backend/scrapers/glassdoor.py 36.60% <42.85%> (+5.67%) :arrow_up:
jobfunnel/config/cli.py 89.47% <100.00%> (+0.14%) :arrow_up:
jobfunnel/config/search.py 77.14% <100.00%> (+0.67%) :arrow_up:
jobfunnel/resources/defaults.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a31e09f...616d351. Read the comment docs.

PaulMcInnis commented 3 years ago

Closing this for now due to inactivity, 100% open to revisiting this.