Skip to content

Commit

Permalink
Merge pull request #47 from NREL/pp/extra_search_engines
Browse files Browse the repository at this point in the history
Add extra search engines
  • Loading branch information
ppinchuk authored Feb 10, 2025
2 parents d9b0c09 + fab648e commit cffd34e
Show file tree
Hide file tree
Showing 17 changed files with 611 additions and 407 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pytest_ords.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
python -m pip install pytest-cov
python -m pip install psycopg2-binary
python -m pip install boto3
python -m pip install flaky
python -m pip install .
rebrowser_playwright install
- name: Run pytest and Generate coverage report
Expand Down
3 changes: 2 additions & 1 deletion elm/ords/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
from elm.ords.services.threaded import TempFileCache
from elm.ords.validation.location import CountyValidator
from elm.web.document import PDFDocument
from elm.web.google_search import google_results_as_docs, filter_documents
from elm.web.search.google import google_results_as_docs
from elm.web.utilities import filter_documents


logger = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion elm/web/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""ELM Web scraping. """

from .google_search import PlaywrightGoogleLinkSearch
from .search.google import PlaywrightGoogleLinkSearch
329 changes: 0 additions & 329 deletions elm/web/google_search.py

This file was deleted.

Empty file added elm/web/search/__init__.py
Empty file.
Loading

0 comments on commit cffd34e

Please # to comment.