{"id":13713129,"url":"https://github.com/kostyaten/go-rss","last_synced_at":"2025-05-06T23:30:39.357Z","repository":{"id":57529121,"uuid":"256805359","full_name":"kostyaten/go-rss","owner":"kostyaten","description":"RSS 2.0 Parser","archived":false,"fork":false,"pushed_at":"2020-04-20T04:53:07.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-19T02:13:49.139Z","etag":null,"topics":["go","golang","rss","rss-feed-parser","rss-parser","rss-reader"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kostyaten.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://www.paypal.me/kostyaten"}},"created_at":"2020-04-18T16:51:18.000Z","updated_at":"2024-02-19T21:22:42.000Z","dependencies_parsed_at":"2022-08-30T14:40:58.745Z","dependency_job_id":null,"html_url":"https://github.com/kostyaten/go-rss","commit_stats":null,"previous_names":["kostya-ten/go-rss"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostyaten%2Fgo-rss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostyaten%2Fgo-rss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostyaten%2Fgo-rss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostyaten%2Fgo-rss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kostyaten","download_url":"https://codeload.github.com/kostyaten/go-rss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251774895,"owners_count":21641731,"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":["go","golang","rss","rss-feed-parser","rss-parser","rss-reader"],"created_at":"2024-08-02T23:01:28.022Z","updated_at":"2025-05-06T23:30:39.023Z","avatar_url":"https://github.com/kostyaten.png","language":"Go","funding_links":["https://www.paypal.me/kostyaten"],"categories":["Repositories"],"sub_categories":[],"readme":"RSS 2.0 Parser\n==============\n\n[![Go](https://github.com/kostya-ten/go-rss/workflows/Go/badge.svg?branch=master)](https://github.com/kostya-ten/go-rss/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kostya-ten/go-rss)](https://goreportcard.com/report/github.com/kostya-ten/go-rss)\n[![GoDoc](https://godoc.org/github.com/kostya-ten/go-rss?status.svg\u0026style=flat)](https://pkg.go.dev/github.com/kostya-ten/go-rss)\n\n## Requirements\n\n    Golang 1.13+, 1.14+\n\n## Getting It\n\nYou can get go-rss by using\n\n    $ go get -u github.com/kostya-ten/go-rss\n\n\n### Parse rss file\n```go\n\n  import \"github.com/kostya-ten/go-rss\"\n\n  func main() {\n    feed, err := rss.ParseFile(filename)\n    if err != nil {\n      panic(err)\n    }\n\n    title := feed.Channel.Title\n    fmt.Println(title)\n  }\n```\n\n\n### Parse rss url \n```go\n\n  import \"github.com/kostya-ten/go-rss\"\n\n  func main() {\n    feed, err := rss.ParseURL(\"http://static.userland.com/gems/backend/rssTwoExample2.xml\", \u0026http.Client{})\n    if err != nil {\n      panic(err)\n    }\n\n    title := feed.Channel.Title\n    fmt.Println(title)\n  }\n```\n\n### Bulk parse rss url\n```go\n  import \"github.com/kostya-ten/go-rss\"\n\n  func main() {\n    urls := []string{\n      \"https://lenta.ru/rss\",\n      \"https://www.interfax.ru/rss.asp\",\n      \"https://ria.ru/export/rss2/index.xml\",\n      \"http://static.feed.rbc.ru/rbc/logical/footer/news.rss\",\n      \"http://tass.ru/rss/v2.xml\",\n      \"https://www.vesti.ru/vesti.rss\",\n    }\n\n    resultRss := rss.ParseBulk(urls, \u0026http.Client{}, \u0026BulkOptions{maxgoroutine: 10, buffer_chan: 10})\n    for _, v := range resultRss {\n      fmt.Println(v.Channel.Title)\n    }\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostyaten%2Fgo-rss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkostyaten%2Fgo-rss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostyaten%2Fgo-rss/lists"}