{"id":20610913,"url":"https://github.com/darkroomengineering/elliot-shopify-python-scraping-tool","last_synced_at":"2025-04-15T04:32:32.616Z","repository":{"id":107025317,"uuid":"232710674","full_name":"darkroomengineering/elliot-shopify-python-scraping-tool","owner":"darkroomengineering","description":"Shopify-specific Python scraping tool that outputs data to Elliot's domain import file structure.","archived":false,"fork":false,"pushed_at":"2020-03-05T03:59:04.000Z","size":33,"stargazers_count":14,"open_issues_count":1,"forks_count":14,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T16:03:26.344Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://elliot.store","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkroomengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-09T03:07:20.000Z","updated_at":"2024-11-16T12:41:44.000Z","dependencies_parsed_at":"2024-02-19T21:14:16.099Z","dependency_job_id":null,"html_url":"https://github.com/darkroomengineering/elliot-shopify-python-scraping-tool","commit_stats":null,"previous_names":["darkroomengineering/elliot-shopify-python-scraping-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Felliot-shopify-python-scraping-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Felliot-shopify-python-scraping-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Felliot-shopify-python-scraping-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Felliot-shopify-python-scraping-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkroomengineering","download_url":"https://codeload.github.com/darkroomengineering/elliot-shopify-python-scraping-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249006599,"owners_count":21197307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T10:18:22.321Z","updated_at":"2025-04-15T04:32:32.593Z","avatar_url":"https://github.com/darkroomengineering.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shopify-python-script\nThis python script allows you to scrape a Shopify stores product.json and output data to a specific file type.\n\n**Requirements:**\n\nPython 3\n\n**Usage:**\n\npython3 shopify.py [-h] [--list-collections] [--collections COLLECTIONS]\n                  [--csv] [--tsv] [--google-manufacturer] [--base-feed] [site's url]\n\n**Optional arguments:**\n\n  * -h, --help: Shows help messages and allows exit\n  * --list-collections: Returns a complete list of Shopify collections for the URL\n  * --collections COLLECTIONS, -c COLLECTIONS: Scrape products from a specific Shopify URL's collection(s)\n  * --csv: Formats the output file in .csv\n  * --tsv: Formats the output file in .tsv\n\n*Output Templates:*\n\n  * --google-manufacturer: Outputs file to Google's Manufacturer Center Feed specification\n  * --base-feed: Outputs basic product feed that includes Shopify's MetaField data\n  * --elliot-template: Outputs Shopify product data into an importable Elliot catalog CSV\n\n**Return a list of Shopify collections:**\n\npython3 shopify.py --list-collections [site's url]\n\n**Scrape products from a specific set of Shopify collections:**\n\npython3 shopify.py -c col1,col2,col3 [site's url]\n\n**Set output file format to .csv:**\n\npython3 shopify.py --csv --base-feed [site's url]\n\n**Set output file format to .tsv:**\n\npython3 shopify.py --tsv --base-feed [site's url]\n\n**Set output file format to Elliot's Product Import:**\n\npython3 shopify.py --tsv --elliot-template [site's url]\n\n**Example:**\n\npython3 shopify.py -c vip,babs-and-bab-lows https://www.greats.com\n\nThe products get saved into a file named **products.csv** in the current directory.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Felliot-shopify-python-scraping-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkroomengineering%2Felliot-shopify-python-scraping-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Felliot-shopify-python-scraping-tool/lists"}