From dc4461002aacec0740d0500d046107dacebd3937 Mon Sep 17 00:00:00 2001 From: Sakan Date: Tue, 23 Jul 2024 19:34:01 +0700 Subject: [PATCH] v5.7.2 - Adjusted headers for POST to GraphQL --- .github/workflows/scrape.yml | 9 --------- .github/workflows/scraper-test.yml | 8 -------- 2 files changed, 17 deletions(-) diff --git a/.github/workflows/scrape.yml b/.github/workflows/scrape.yml index 699b230..a6d58a9 100644 --- a/.github/workflows/scrape.yml +++ b/.github/workflows/scrape.yml @@ -8,15 +8,6 @@ on: env: ACTIONS_ALLOW_UNSECURE_COMMANDS: true USER_AGENT: ${{ secrets.USER_AGENT }} - CSRF_TOKEN: ${{ secrets.CSRF_TOKEN }} - X_BOOKING_CSRF_TOKEN: ${{ secrets.X_BOOKING_CSRF_TOKEN }} - X_BOOKING_CONTEXT_ACTION_NAME: ${{ secrets.X_BOOKING_CONTEXT_ACTION_NAME }} - X_BOOKING_CONTEXT_AID: ${{ secrets.X_BOOKING_CONTEXT_AID }} - X_BOOKING_ET_SERIALIZED_STATE: ${{ secrets.X_BOOKING_ET_SERIALIZED_STATE }} - X_BOOKING_PAGEVIEW_ID: ${{ secrets.X_BOOKING_PAGEVIEW_ID }} - X_BOOKING_SITE_TYPE_ID: ${{ secrets.X_BOOKING_SITE_TYPE_ID }} - X_BOOKING_TOPIC: ${{ secrets.X_BOOKING_TOPIC }} - jobs: scrape-latest: diff --git a/.github/workflows/scraper-test.yml b/.github/workflows/scraper-test.yml index 0cb79bf..e873ab9 100644 --- a/.github/workflows/scraper-test.yml +++ b/.github/workflows/scraper-test.yml @@ -50,14 +50,6 @@ jobs: - name: Test with pytest env: USER_AGENT: ${{ secrets.USER_AGENT }} - CSRF_TOKEN: ${{ secrets.CSRF_TOKEN }} - X_BOOKING_CSRF_TOKEN: ${{ secrets.X_BOOKING_CSRF_TOKEN }} - X_BOOKING_CONTEXT_ACTION_NAME: ${{ secrets.X_BOOKING_CONTEXT_ACTION_NAME }} - X_BOOKING_CONTEXT_AID: ${{ secrets.X_BOOKING_CONTEXT_AID }} - X_BOOKING_ET_SERIALIZED_STATE: ${{ secrets.X_BOOKING_ET_SERIALIZED_STATE }} - X_BOOKING_PAGEVIEW_ID: ${{ secrets.X_BOOKING_PAGEVIEW_ID }} - X_BOOKING_SITE_TYPE_ID: ${{ secrets.X_BOOKING_SITE_TYPE_ID }} - X_BOOKING_TOPIC: ${{ secrets.X_BOOKING_TOPIC }} run: | python -m pytest tests/