{"id":17790879,"url":"https://github.com/davorg/drwho-newsfeed","last_synced_at":"2025-08-21T03:20:13.356Z","repository":{"id":66584772,"uuid":"416638456","full_name":"davorg/drwho-newsfeed","owner":"davorg","description":"Make a web feed from the BBC Doctor Who news site","archived":false,"fork":false,"pushed_at":"2025-08-12T06:44:39.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-12T22:47:40.179Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davorg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-10-13T07:45:53.000Z","updated_at":"2025-08-12T06:44:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"cdde4df3-6331-469f-8183-bca4f5f093af","html_url":"https://github.com/davorg/drwho-newsfeed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davorg/drwho-newsfeed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Fdrwho-newsfeed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Fdrwho-newsfeed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Fdrwho-newsfeed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Fdrwho-newsfeed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davorg","download_url":"https://codeload.github.com/davorg/drwho-newsfeed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davorg%2Fdrwho-newsfeed/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271420167,"owners_count":24756492,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-27T10:48:21.499Z","updated_at":"2025-08-21T03:20:13.337Z","avatar_url":"https://github.com/davorg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doctor Who Newsfeed RSS Generator\n\n(Insert rant about the death of web feeds)\n\nThis script fetches the latest articles fromi\n[doctorwho.tv/news-and-features](https://www.doctorwho.tv/news-and-features)\nand generates an RSS feed (`doctorwho.xml`) using Puppeteer.\n\n## Requirements\n\n- Node.js 18+ (tested with Node.js 20.19.3)\n- npm\n\n## Setup\n\n1️⃣ Clone this repo or place the script (`doctorwho_feed.mjs`) in a folder.\n\n2️⃣ Install dependencies:\n\n```bash\nnpm install puppeteer feed\n```\n\nThis will create `node_modules` and `package-lock.json`.\n\n## Usage\n\nRun the script:\n\n```bash\nnode doctorwho_feed.mjs\n```\n\nOn success, it will generate:\n\n```\n✔ Feed written to doctorwho.xml with X items and real dates.\n```\n\nand create:\n\n```\ndocs/doctorwho.xml\n```\n\nwhich contains the RSS feed.\n\n## Debugging\n\n- To see the browser window (for debugging), edit `doctorwho_feed.mjs`:\n\n```js\nconst browser = await puppeteer.launch({\n  headless: false,\n  args: ['--no-sandbox', '--disable-setuid-sandbox']\n});\n```\n\n- Add extra `console.log()` lines in the script to trace progress.\n\n## Notes\n\n- If running on Linux/macOS and you hit permissions issues, try:\n\n```bash\nsudo node doctorwho_feed.mjs\n```\n\n- If you see a `TimeoutError: Waiting for selector`, check if the website structure has changed (e.g., update your selectors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavorg%2Fdrwho-newsfeed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavorg%2Fdrwho-newsfeed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavorg%2Fdrwho-newsfeed/lists"}