{"id":26493994,"url":"https://github.com/dwarvesf/glod","last_synced_at":"2025-03-20T09:58:33.631Z","repository":{"id":57497093,"uuid":"41855638","full_name":"dwarvesf/glod","owner":"dwarvesf","description":"Small library to help retrieve direct URL from multiple media sources that written in Go","archived":false,"fork":false,"pushed_at":"2017-10-25T13:34:32.000Z","size":72,"stargazers_count":55,"open_issues_count":3,"forks_count":5,"subscribers_count":15,"default_branch":"develop","last_synced_at":"2024-06-19T04:24:13.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/dwarvesf/glod","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dwarvesf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-03T11:11:06.000Z","updated_at":"2024-06-19T04:24:13.921Z","dependencies_parsed_at":"2022-09-03T23:50:57.277Z","dependency_job_id":null,"html_url":"https://github.com/dwarvesf/glod","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/dwarvesf%2Fglod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fglod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fglod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dwarvesf%2Fglod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dwarvesf","download_url":"https://codeload.github.com/dwarvesf/glod/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244591451,"owners_count":20477709,"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":[],"created_at":"2025-03-20T09:58:32.934Z","updated_at":"2025-03-20T09:58:33.622Z","avatar_url":"https://github.com/dwarvesf.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Coverage Status](https://coveralls.io/repos/github/dwarvesf/glod/badge.svg?branch=develop)](https://coveralls.io/github/dwarvesf/glod?branch=develop)\n\n[![GoDoc](https://godoc.org/github.com/dwarvesf/glod?status.svg)](https://godoc.org/github.com/dwarvesf/glod)\n[![Build Status](https://travis-ci.org/dwarvesf/glod.svg?branch=master)](https://travis-ci.org/dwarvesf/glod)\n[![Code Climate](https://codeclimate.com/github/dwarvesf/glod/badges/gpa.svg)](https://codeclimate.com/github/dwarvesf/glod)\n[![Test Coverage](https://codeclimate.com/github/dwarvesf/glod/badges/coverage.svg)](https://codeclimate.com/github/dwarvesf/glod/cov000erage)\n\n# Introduction:\n\nBeing inspired by [youtube-dl](https://github.com/rg3/youtube-dl), **Glod** is a small library to help retrieve direct URL from multiple media sources that written in Go.\n\nGlod which is abbreviated of Gloddson a.k.a Glod Gloddson, one of those unconventional Dwarfs, who with Giamo Casanunda, Hwel the playwright, Mad, Sharn and Cheery Littlebottom, express rebellion against the\tlimited life of a conventional Dwarf. Glod is a musician, a horn player, who comes to Ankh-Morpork apparently after some years' experience elsewhere, since he is first encountered applying for membership in the Musicians' Guild. In the office he meets Imp y Celyn and Lias Bluestone, two more newcomers. They join up to try to raise the Guild membership fees and form The Band With Rocks In.\n\nIf you are building your music streaming website, the command line tool to download media files or even a crawler ... you do not have to build it from scratch, glod is here to help.\n\n# Installation:\n\nAssume that you had Go installed\n  \n```\n$ go get -u github.com/dwarvesf/glod\n```\n\n# Usage:\n\n``` go\nconst (\n\tinitNhacCuatui string = \"nhaccuatui\"\n)\n\nif strings.Contains(url, initNhacCuatui) {\n\tglod = \u0026nct.NhacCuaTui{}\n}\n\n// url is the link inputed, listStream is list of URLs that permanently downloadable link\n// In case url is song's link, listStream contains one item\nlistStream, error := glod.GetDirectLink(url)\n```\n\n## Current status and TODO\n\n* [x] Mp3 Zing\n* [x] Nhaccuatui\n* [x] Soundcloud\n* [x] Youtube\n* [x] Chiasenhac\n* [x] Facebook\n* [x] Vimeo\n* [ ] Lynda\n* [ ] Udemy\n* [ ] Flickr\n* [ ] Slideshare\n* [ ] Dropbox\n* [ ] PornHub :sunglasses:\n\n# Implementation\n\nWe have created an command-line tool that implements glod. Check it out [glod-cli](https://github.com/dwarvesf/glod-cli)!\n\n# Contributing\n\n* Fork it!\n* Create your feature branch (for example soundcloud):\n\n```\n$ git checkout -b feature/soundcloud\n```\n\n* Write your function download, remember to override **GetDirectLink()** function\n* Commit your changes:\n\n```\n$ git commit -am \"Add function download for soundcloud\"\n```\n\n* Push to the branch:\n\n```\n$ git push origin feature/soundcloud\n```\n\n* Submit your pull request\n\n# License\n\nCopyright 2016 Dwarves Foundation\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarvesf%2Fglod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwarvesf%2Fglod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwarvesf%2Fglod/lists"}