Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix: revert to d1b2104
PeriniMa0c0a7ff5c5d
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 72213d72..a8557a9d 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -14,52 +14,40 @@ jobs:run: |sudo apt updatesudo apt install -y git-- - name: Set up Python- uses: actions/setup-python@v5- with:- python-version: '3.10'-- name: Install uvuses: astral-sh/setup-uv@v3-- name: Install Node Envuses: actions/setup-node@v4with:node-version: 20-- name: Checkoutuses: actions/[email protected]with:fetch-depth: 0persist-credentials: false-- - name: Install dependencies and build package+ - name: Build apprun: |- uv venv- . .venv/bin/activate- uv pip install twineuv sync --frozen- uv pip install -e .uv build-- - name: Cache build artifacts- uses: actions/cache@v3+ id: build_cache+ if: success()+ - name: Cache build+ uses: actions/cache@v2with:- path: |- ./dist- ./build- key: ${{ runner.os }}-build-${{ github.sha }}+ path: ./dist+ key: ${{ runner.os }}-build-${{ hashFiles('dist/**') }}+ if: steps.build_cache.outputs.id != ''release:name: Releaseruns-on: ubuntu-latestneeds: buildenvironment: development- if: |- github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/pre/')) ||- github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged &&- (github.event.pull_request.base.ref == 'main' || startsWith(github.event.pull_request.base.ref, 'pre/'))+ if: |+ github.event_name == 'push' && github.ref == 'refs/heads/main' ||+ github.event_name == 'push' && github.ref == 'refs/heads/pre/beta' ||+ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'main' ||+ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged && github.event.pull_request.base.ref == 'pre/beta'permissions:contents: writeissues: write@@ -71,15 +59,6 @@ jobs:with:fetch-depth: 0persist-credentials: false-- - name: Restore build artifacts- uses: actions/cache@v3- with:- path: |- ./dist- ./build- key: ${{ runner.os }}-build-${{ github.sha }}-- name: Semantic Releaseuses: cycjimmy/[email protected]with:diff --git a/pyproject.toml b/pyproject.tomlindex 0b0e4e25..f5192ff2 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -108,36 +108,9 @@ screenshot_scraper = [][build-system]-requires = ["hatchling>=1.0.0", "hatch-vcs"]+requires = ["hatchling"]build-backend = "hatchling.build"-[tool.hatch.build]-packages = ["scrapegraphai"]-exclude = [- "tests/**",- "examples/**",-]--[tool.hatch.version]-source = "vcs"--[tool.hatch.build.hooks.vcs]-version-file = "scrapegraphai/_version.py"--[tool.hatch.build.targets.wheel]-packages = ["scrapegraphai"]--[tool.hatch.build.targets.sdist]-include = [- "/scrapegraphai",- "pyproject.toml",- "README.md",- "LICENSE",-]--[tool.hatch.metadata]-allow-direct-references = true-[dependency-groups]dev = ["burr[start]==0.22.1",