{"id":25207083,"url":"https://github.com/santteegt/directv-scraper","last_synced_at":"2026-04-12T07:32:42.142Z","repository":{"id":75226132,"uuid":"152664349","full_name":"santteegt/directv-scraper","owner":"santteegt","description":"Scraping the Latin America DirecTV programming guide by implementing a spider job using Scrapy.","archived":false,"fork":false,"pushed_at":"2018-10-11T22:46:43.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T11:35:50.678Z","etag":null,"topics":["docker-compose","python","scrapy","scrapyd-api"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/santteegt.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,"publiccode":null,"codemeta":null}},"created_at":"2018-10-11T22:42:00.000Z","updated_at":"2023-06-18T15:03:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2f787a7-dc4e-49d2-9006-ec1957b27b86","html_url":"https://github.com/santteegt/directv-scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fdirectv-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fdirectv-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fdirectv-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santteegt%2Fdirectv-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santteegt","download_url":"https://codeload.github.com/santteegt/directv-scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247282577,"owners_count":20913393,"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":["docker-compose","python","scrapy","scrapyd-api"],"created_at":"2025-02-10T11:30:42.108Z","updated_at":"2026-04-12T07:32:42.115Z","avatar_url":"https://github.com/santteegt.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Directv Programming Guide Scraper\n\nScraping the Latin America DirecTV programming guide by implementing a spider job using Scrapy.\n\n### Software Requirements\n\n* Python 2/3\n* pip\n* Scrapy\n* Docker\n\n### Setup Instructions\n\n```\n~$ pip install scrapy scrapyd scrapyd-client\n```\n\n### Spider Configuration\n\n* TV_CHANNEL_RAGE: set the range of channels to scrape programming info Default value is `(130, 600)`. You can modify this value in [directv_spider.py](directvscraper/spiders/directv_spider.py) file\n\n### Running Locally\n\n```\n~$ scrapy crawl directv -o directv.jl\n```\n\n### Deployment\n\n```\n~ $ docker-compose up -d scrapyd\n~ $ scrapyd-deploy -p directvscraper # deployed the `eggifyed` project\n```\n\n* You can see default server conf using `scrapyd-deploy -l`, while deployed spider proyects `scrapyd-deploy -L default`\n\n* To schedule the spider, run the following:\n\n```\n~ $ curl http://localhost:6800/schedule.json -d project=directvscraper -d spider=directv\n```\n\n* Alternatively you can use the [Directv Programing Guide - Data Cleaning.ipynb](Directv Programing Guide - Data Cleaning.ipynb) notebook to schedule and then clean the scrapped data.\n\n* To check the progress of the spider job, visit `http://localhost:6800/jobs`\n\n* To cancel the job, you can run the following:\n\n```\n~ $ curl http://localhost:6800/cancel.json -d project=directvscraper -d job=\u003cJOB_ID\u003e\n```\n\n### Debugging\n\nIf you want to debug specific pages, you can run the following code\n\n```\n~ $ scrapy shell \u003cURL\u003e\n```\n\n### More about Scrapyd\n\nMore info about the HTTP services available [here](https://doc.scrapy.org/en/0.12/topics/scrapyd.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantteegt%2Fdirectv-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantteegt%2Fdirectv-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantteegt%2Fdirectv-scraper/lists"}