{"id":19856557,"url":"https://github.com/gavinlyonsrepo/opml_convert_rss","last_synced_at":"2025-05-02T01:31:35.822Z","repository":{"id":98597012,"uuid":"212709087","full_name":"gavinlyonsrepo/opml_convert_RSS","owner":"gavinlyonsrepo","description":"Command line python utility, Converts the opml(Xml) or JSON file of a youtube user subscriptions provided by youtube, into a text file which can added to RSS reader setup file, like newsboat for example. Thus converting your youtube subscriptions, into a group of tagged RSS feeds.","archived":false,"fork":false,"pushed_at":"2021-01-09T01:24:27.000Z","size":34,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T20:51:15.968Z","etag":null,"topics":["cli","command-line-tool","convert","converter","feeds-reader","json","newsboat","opml","python","python-utility","rss","rss-reader","rss-reader-setup","subscription-manager","subscriptions","user-subscriptions","utility","xml","youtube","youtube-subscriptions"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gavinlyonsrepo.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}},"created_at":"2019-10-04T00:44:24.000Z","updated_at":"2023-09-16T17:11:43.000Z","dependencies_parsed_at":"2023-05-06T16:31:03.751Z","dependency_job_id":null,"html_url":"https://github.com/gavinlyonsrepo/opml_convert_RSS","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fopml_convert_RSS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fopml_convert_RSS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fopml_convert_RSS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gavinlyonsrepo%2Fopml_convert_RSS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gavinlyonsrepo","download_url":"https://codeload.github.com/gavinlyonsrepo/opml_convert_RSS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251969431,"owners_count":21673203,"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":["cli","command-line-tool","convert","converter","feeds-reader","json","newsboat","opml","python","python-utility","rss","rss-reader","rss-reader-setup","subscription-manager","subscriptions","user-subscriptions","utility","xml","youtube","youtube-subscriptions"],"created_at":"2024-11-12T14:15:51.191Z","updated_at":"2025-05-02T01:31:35.536Z","avatar_url":"https://github.com/gavinlyonsrepo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Overview\n--------------------------------------------\n* Name: opml_convert_RSS\n* Description: Command line python utility , converts opml(xml) to RSS.\n* Author: Gavin Lyons.\n* Software: python 3.6.8\n* Copyright: 2019 (C) GPL \n \nDescription\n---------\n\nCommand line python utility, \nConverts the opml(Xml) file or JSON file of a youtube user subscriptions provided by youtube, \ninto a text file which can added to RSS reader setup file\nfile, like newsboat for example. Thus converting your youtube subscriptions,\ninto a group of tagged RSS feeds. \nExample input JSON and xml and output txt files are available in Documents folder\nThe user can select input file path, output file path and custom tag.\n\n**Input:**\n\n1. opml(xml) file provided by user on command prompt using -i option.\n2. JSON file  provided by user on command prompt using -i option.\n\n**Output:**\n\nThe output.txt is file is provided by user using -o option \nIf no file is provided the program uses a default file called output.txt at path of\nprogram. The output file is in file in following format:\n\n[url] ~\"[video_title]\" [tag]\n\nhttps://www.youtube.com/feeds/videos.xml?channel_id=UCI999ua  \"~Python Training by Bader\"  youtube\n\nWhere tag default = youtube, A custom tag can be added using -t option.\n\nUsage\n--------\n\n1. Download the python program, opml_convert_rss.py.\n\n2. Get the data XML or JSON , two different methods\n\nXML: (NOTE: Youtube removed  this service in Late 2020, not known if coming back)\n\n* In a web browser navigate to subscription manager page of youtube.\nhttps://www.youtube.com/subscription_manager\n* At bottom of page click on \"Export to RSS readers -- Export subscriptions\".\n* This subscription_manager file will be downloaded into an opml(xml) file.\n\nJSON:\n\n* There is a service in google called takeout at https://takeout.google.com/\nIt lets you download your data.\n* Select the youtube account\n* Select only youtube data\n* Select only youtube subs.\n* Download the data into a JSON file \n\n3. Run program in terminal. \n\n* $ python3 opml_convert_rss.py -i infile -o outfile -t tech\n* -i infile is the full path and/or filename of input XML or JSON file.\n* -o outfile is the full path and/or filename of output txt file.\n* -t tech is a custom tag.\n* -t and -o options can be omitted and defaults used if user wants.\n\n4. Example input in terminal $python3 opml_convert_rss.py -i ~/Downloads/te -o test -t testtag\n\noutput:\n\n![SS](https://raw.githubusercontent.com/gavinlyonsrepo/opml_convert_RSS/master/screenshots/opml.png)\n\n5. Copy the output file into RSS reader setup files(eg newsboat)\n \n \n**Arguments**\n\nusage: opml_convert_rss.py [-h] [-v] [-i INFILE] [-o OUTFILE] [-t TAGNAME]\n\nURL help at: https://github.com/gavinlyonsrepo/opml_convert_RSS\n\noptional arguments:\n\n* -h, --help  show this help message and exit\n* -v          Print version and quit\n* -i INFILE   input filename and/or full path\n* -o OUTFILE  output filename and/or full path, default ./outfile.txt\n* -t TAGNAME  tagname, default = youtube\n\nNOTE: Works in windows powershell but without Colour text\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinlyonsrepo%2Fopml_convert_rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgavinlyonsrepo%2Fopml_convert_rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgavinlyonsrepo%2Fopml_convert_rss/lists"}