Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QATAR AIRWAYS - Commercial Terms #236

Open
OTA-Bot opened this issue Mar 3, 2022 · 2 comments
Open

Add QATAR AIRWAYS - Commercial Terms #236

OTA-Bot opened this issue Mar 3, 2022 · 2 comments
Labels
add Automatically created by Open Terms Archive Contribution Tool cloudflare Blocked by cloudflare

Comments

@OTA-Bot
Copy link
Contributor

OTA-Bot commented Mar 3, 2022

New service addition requested through the contribution tool

You can see the work done by the awesome contributor here:
https://contribute.opentermsarchive.org/fr/service?destination=OpenTermsArchive%2Fdeclarations-france&documentType=Commercial%20Terms&name=QATAR%20AIRWAYS&selectedCss[]=.C13_1%20%3E%20.row%3Anth-child%282%29%20%3E%20.col-xs-12&selectedCss[]=.C13_1%20%3E%20.row%3Anth-child%281%29%20%3E%20.col-xs-12&url=https%3A%2F%2Fwww.qatarairways.com%2Ffr-fr%2Flegal%2Fconditions-of-carriage.html&expertMode=true

Or on your local:
http://localhost:3000/fr/service?destination=OpenTermsArchive%2Fdeclarations-france&documentType=Commercial%20Terms&name=QATAR%20AIRWAYS&selectedCss[]=.C13_1%20%3E%20.row%3Anth-child%282%29%20%3E%20.col-xs-12&selectedCss[]=.C13_1%20%3E%20.row%3Anth-child%281%29%20%3E%20.col-xs-12&url=https%3A%2F%2Fwww.qatarairways.com%2Ffr-fr%2Flegal%2Fconditions-of-carriage.html&expertMode=true

Or you can see the JSON generated here:

{
  "name": "QATAR AIRWAYS",
  "documents": {
    "Commercial Terms": {
      "fetch": "https://www.qatarairways.com/fr-fr/legal/conditions-of-carriage.html",
      "select": [
        ".C13_1 > .row:nth-child(2) > .col-xs-12",
        ".C13_1 > .row:nth-child(1) > .col-xs-12"
      ]
    }
  }
}

You will need to create the following file in the root of the project: services/QATAR AIRWAYS.json

@OTA-Bot OTA-Bot added the add Automatically created by Open Terms Archive Contribution Tool label Mar 3, 2022
@clementbiron
Copy link
Member

View OpenTermsArchive/engine#316

@MattiSG MattiSG added cloudflare Blocked by cloudflare and removed bug labels Mar 29, 2022
@Manu1400
Copy link
Contributor

Manu1400 commented May 3, 2022

synthetic selector :

".C13_1 > .row:nth-child(-n+2) > .col-xs-12"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add Automatically created by Open Terms Archive Contribution Tool cloudflare Blocked by cloudflare
Projects
None yet
Development

No branches or pull requests

4 participants