{"id":19006023,"url":"https://github.com/rednblkx/iptv_ro","last_synced_at":"2025-04-16T23:33:00.619Z","repository":{"id":39915194,"uuid":"325129772","full_name":"rednblkx/iptv_ro","owner":"rednblkx","description":"A simple web API for acquiring media streams from a couple of service providers","archived":true,"fork":false,"pushed_at":"2025-01-26T16:48:25.000Z","size":149,"stargazers_count":8,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-24T08:22:19.161Z","etag":null,"topics":["api","iptv","nodejs","puppeteer","scraping"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/rednblkx.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":"2020-12-28T22:25:34.000Z","updated_at":"2025-01-26T16:48:59.000Z","dependencies_parsed_at":"2024-03-08T16:48:51.245Z","dependency_job_id":null,"html_url":"https://github.com/rednblkx/iptv_ro","commit_stats":null,"previous_names":["rednblkx/iptv_ro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednblkx%2Fiptv_ro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednblkx%2Fiptv_ro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednblkx%2Fiptv_ro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rednblkx%2Fiptv_ro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rednblkx","download_url":"https://codeload.github.com/rednblkx/iptv_ro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249288027,"owners_count":21244717,"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":["api","iptv","nodejs","puppeteer","scraping"],"created_at":"2024-11-08T18:29:55.796Z","updated_at":"2025-04-16T23:33:00.611Z","avatar_url":"https://github.com/rednblkx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]  \n\u003e Project no longer maintained and has been deprecated in favor of [iptvro_v2](https://github.com/rednblkx/iptvro_v2)\n\n## Disclaimer\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fredmusicxd%2Fiptv_ro.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fredmusicxd%2Fiptv_ro?ref=badge_shield)\n\nThis script is not officially commissioned/supported by DIGI, Antena or ProTV. \nFor more information about digionline, antenaplay or protvplus, visit their official website.\n\nThis script offers a way to retrieve the streams using the credentials PROVIDED BY YOU.\n\nTHIS SCRIPT DOES NOT OFFER FREE IPTV.\n\nTHERE IS NO WARRANTY FOR THE SCRIPT, IT MIGHT NOT WORK AT ALL AND IT CAN BREAK AND STOP WORKING AT ANY TIME.\n\n## API Endpoints\n### **APlay**\n\n```\n/:channel(?ts=true\u0026cached=true) --\u003e Live feed of :channel\n\n/antena/channels --\u003e Get the available channel list\n\n/shows(?format=html) --\u003e List of all the TV Series\n\n/ems(?page=:page) --\u003e List of TV Shows\n\n/show/:showid --\u003e Year \u0026 Month Selector for :showid episodes\n\n/show/:showid?year=:year\u0026month=:month --\u003e Get Episodes from Year :year \u0026 Month :month\n\n/show/play/:showid/:epid --\u003e Play episode :epid of a show :showid\n\n/antena/flush(?channel=:channel) --\u003e Flush cached urls\n\n```\n\n**Notes** \n\nUse value \"get\" for \"quality\" paramater to get links for every bitrate.\n\nResponses for \"/ems\" and \"/shows\" endpoints are by default JSON, use \"format\" query paramater with \"html\" value for an HTML response.\n\n\"/ems\" endpoint is paginated by the platform, use \"page\" query paramater to select page, total of pages is stated in \"meta\" object, \"total_pages\" key.\n\n\"/:channel\" endpoint has the cached option to use in memory url.\n\n### **DiGi**\n```\n/:channel(.m3u8)?ts=(0||1)\u0026quality=(hq||mq||lq) --\u003e Live feed of :channel\n\n/digi/channels --\u003e Get the available channel list\n\n/:channel/epg --\u003e EPG for :channel\n\n/digi/flush(?channel=:channel) --\u003e Flush cached urls\n```\n**Notes** \n\nUse value \"get\" for \"quality\" paramater to get links for every bitrate.\n\ndigi24, digisport1, digisport2, digisport3, digisport4 are available without account.\n\nFor VLC use the \"ts=1\" query string(this is because digi banned the ffmpeg \u0026 VLC user-agents from accessing the main playlist but not the playlists with the .ts files)\n\nquality -\u003e Choose the stream quality (see below)\n\nts -\u003e The API sends a playlist that has full-links for .ts and .key (see example below)\n\nStream Qualities available:\n- hd - 1888595 - 1280x720 ( only for digi24, digisport1, digisport2, digisport3, digisport4, kanal-d )\n- hq - 1213681 - 1024x576\n- mq - 296020 - 640x360\n- lq - 296020 - 320x180\n\nExample Response\n\nInitial\n```\n#EXTM3U\n#EXT-X-VERSION:3\n#EXT-X-TARGETDURATION:6\n#EXT-X-MEDIA-SEQUENCE:192729\n#EXT-X-KEY:METHOD=AES-128,URI=\"stream.key\"\n#EXTINF:6.0,\nstream.ts\n```\n\nRewrited\n```\n#EXTM3U \n#EXT-X-VERSION:3 \n#EXT-X-TARGETDURATION:6\n#EXT-X-MEDIA-SEQUENCE:192712\n#EXT-X-KEY:METHOD=AES-128,URI=\"https://xxxx.yyyy.zzz/stream.key\"\n#EXTINF:6.0,\nhttps://xxxx.yyyy.zzz/stream.ts\n```\n### **ProPlus**\n```\n/:channel(?quality=(hq,mq,lq)) --\u003e Live feed of a tv channel\n\n/pro/channels --\u003e Get the available channel list\n```\n\n**Notes**\n\nUse value \"get\" for \"quality\" paramater to get links for every bitrate.\n\nYou have to add the following HTTP Header to every stream to be able to watch:\n\n- Referer: https://media.cms.protvplus.ro/\n\n## Authentication\n\nAcces login configuration page at \"/login\", select the desired service and fill accordingly.\n\n------------------------------------\n\n## Notes\n\nconfig.json - here set some defaults, adjust accordingly as following:\n\n \n1. Antena\n    - res_format: receive response in JSON or HTML (possible values \"json\" or \"html\")\n    - cache_url: whether the stream url should be kept in memory for cache_expire_ms miliseconds (6 hours by default - 2.16e+7)\n    - cache_expire_ms - time for cached url to be saved\n    - rewrite_url: url up to .ts files rewriting to absolute path\n    - quality: the quality (bitrate) of the stream\n2. Pro\n    - quality: the quality (bitrate) of the stream\n\n\n\u0026copy; **This project is licensed under the terms of the MIT license.**\n\n\n## License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fredmusicxd%2Fiptv_ro.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fredmusicxd%2Fiptv_ro?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frednblkx%2Fiptv_ro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frednblkx%2Fiptv_ro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frednblkx%2Fiptv_ro/lists"}