{"id":16341556,"url":"https://github.com/psibi/download","last_synced_at":"2025-03-20T23:31:47.699Z","repository":{"id":56843549,"uuid":"53172725","full_name":"psibi/download","owner":"psibi","description":"High level download interface for Haskell","archived":false,"fork":false,"pushed_at":"2019-03-02T07:46:28.000Z","size":74,"stargazers_count":10,"open_issues_count":4,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-26T15:21:27.810Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.stackage.org/package/download","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psibi.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-04T23:44:02.000Z","updated_at":"2019-04-30T18:18:27.000Z","dependencies_parsed_at":"2022-09-07T09:11:13.171Z","dependency_job_id":null,"html_url":"https://github.com/psibi/download","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/psibi%2Fdownload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2Fdownload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2Fdownload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psibi%2Fdownload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psibi","download_url":"https://codeload.github.com/psibi/download/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244092744,"owners_count":20396863,"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":"2024-10-10T23:59:46.002Z","updated_at":"2025-03-20T23:31:47.423Z","avatar_url":"https://github.com/psibi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# download\n\n[![Build Status](https://travis-ci.org/psibi/download.svg?branch=master)](https://travis-ci.org/psibi/download)\n\n Download web content as strict bytestring, strings, HTML tags, XML, RSS\n or Atom feeds or JSON, via HTTP, FTP or file protocols, using a URL\n interface.\n\n## Using the library:\n\n Importing the library:\n\n``` haskell\nimport Network.Download\n```\n\n Loading a webpage as a `ByteString`:\n\n``` haskell\ndoc  \u003c- openURI \"http://google.com\"\n```\n\n Loading from a file:\n\n``` haskell\ndoc  \u003c- openURI \"file:///tmp/A.hs\"\n```\n\n Loading a HTML page as a list of tags:\n\n``` haskell\ntags \u003c- openAsTags \"http://google.com\"\n```\n\n Loading a HTML page as XML:\n\n``` haskell\ntags \u003c- openAsXML \"http://google.com\"\n```\n\n Loading an RSS or Atom feed:\n\n``` haskell\nfeed \u003c- openAsFeed \"http://google.com\"\n```\n\n These data types can the be processed further with the XML, Feed and\n TagSoup libraries.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsibi%2Fdownload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsibi%2Fdownload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsibi%2Fdownload/lists"}