Skip to content

Conduct Commerce

The owner that manages Conduct Commerce’s inventory management system setup a custom endpoint containing the card details for the Magic the Gathering cards so we don’t have to web scrape their website.

Conduct Commerce File Structure

List of files needed to run conductCommerce.py.

  • DirectorySNAPCASTER-BACKEND
    • Directoryscraper
      • Directoryv2
        • Directoryconduct-commerce
          • Directoryconfig
            • Directorymtg-advanced
              • mtg_advanced_foil_map.json
          • requirements.txt
          • run.py
    • .env

How to Run the Conduct Commerce Scraper

  1. Change to the the snapcaster-backend-main\snapcaster-backend\scraper\v2\conduct-commerce directory.

  2. Run the the scraper script:

    python -m run