agentsclimarketplace

Scrape ats ets2 wiki cities

Skill Flashky/agent-skills/skills/scrape-ats-ets2-wiki-cities

Extrae los datos de ciudades de las wikis de American Truck Simulator y Euro Truck Simulator 2 (trucksimulator.wiki.gg), incluyendo nombre, país/estado, número de compañías y todas las features (garaje, gasolinera, concesionario, etc.).From its SKILL.md

Install
npx -y skills add Flashky/agent-skills --skill scrape-ats-ets2-wiki-cities

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.5 KB, 611 tokens by cl100k_base, as published. Nobody here has run it

Usa los scripts scrape_ets2.py y scrape_ats.py para obtener los datos de ciudades de las wikis en formato JSON.

Scraper de ETS2

Obtiene todas las ciudades de Euro Truck Simulator 2:

python3 scrape_ets2.py

Filtrar por país

python3 scrape_ets2.py --country España

Filtrar por ciudad

python3 scrape_ets2.py --city "A Coruña"

Scraper de ATS

Obtiene todas las ciudades de American Truck Simulator:

python3 scrape_ats.py

Filtrar por estado

python3 scrape_ats.py --state California

Filtrar por ciudad

python3 scrape_ats.py --city "Aberdeen"

Formato de salida

ETS2

{
  "countries": [
    {
      "name": "Spain",
      "flag": "https://trucksimulator.wiki.gg/images/Flag_of_Spain.png?a5e556",
      "cities": [
        {
          "name": "A Coruña",
          "companies": 10,
          "features": {
            "garage": true,
            "gasStation": false,
            "serviceShop": true,
            "recruitmentAgency": false,
            "hotel": false,
            "restStop": true,
            "dealer": "No",
            "airport": false,
            "seaport": false,
            "ferry": false,
            "tollGates": true,
            "weighStation": false,
            "borderCrossing": false,
            "viewpoint": false,
            "photoTrophy": false
          }
        }
      ]
    }
  ]
}

ATS

{
  "states": [
    {
      "name": "California",
      "flag": "https://trucksimulator.wiki.gg/images/Flag_of_California.png?cd1a74",
      "cities": [
        {
          "name": "Bakersfield",
          "companies": 11,
          "features": {
            "garage": true,
            "gasStation": true,
            "serviceShop": true,
            "recruitmentAgency": true,
            "hotel": false,
            "restStop": true,
            "dealer": "Kenworth",
            "airport": false,
            "seaport": false,
            "ferry": false,
            "tollGates": false,
            "weighStation": true,
            "borderCrossing": false,
            "agriculturalStation": false,
            "viewpoint": false,
            "photoTrophy": false
          }
        }
      ]
    }
  ]
}

What ships with it: 2 files

13.6 KB alongside SKILL.md, 2 of them executable

scripts/

Keep looking

Skills are one crate of 326,149. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.