{"id":16338232,"url":"https://github.com/srid/readability","last_synced_at":"2025-08-27T04:08:10.996Z","repository":{"id":1059477,"uuid":"892803","full_name":"srid/readability","owner":"srid","description":"[unmaintained] Python version of arc90's *older* readability.js","archived":false,"fork":false,"pushed_at":"2011-10-30T03:14:09.000Z","size":347,"stargazers_count":47,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T15:11:12.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srid.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2010-09-07T03:55:28.000Z","updated_at":"2022-09-18T19:55:29.000Z","dependencies_parsed_at":"2022-08-16T11:55:21.230Z","dependency_job_id":null,"html_url":"https://github.com/srid/readability","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srid/readability","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Freadability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Freadability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Freadability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Freadability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srid","download_url":"https://codeload.github.com/srid/readability/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Freadability/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272289219,"owners_count":24907797,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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:50:01.003Z","updated_at":"2025-08-27T04:08:10.970Z","avatar_url":"https://github.com/srid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"readability\n===========\n\nA Python implementation of the algorithm__ used in arc90's `readability\nbookmarklet`_::\n\n    \u003e\u003e\u003e import urllib\n    \u003e\u003e\u003e import readability\n    \u003e\u003e\u003e url = 'http://www.nytimes.com/2010/09/07/health/views/07mind.html'\n    \u003e\u003e\u003e html = urllib.urlopen(url).read()\n    \u003e\u003e\u003e print readability.readable(url, html)[0]\n\n.. WARNING:: The above API **may change** before release.\n\nTo directly open the readable version of a URL in the web browser::\n\n    $ readability -b http://blog.doughellmann.com/2007/04/pymotw-linecache.html\n\nreadability.py is not released yet. To install the development version::\n\n    $ pip install -e git://github.com/srid/readability.git#egg=readability\n\nOld algorithm\n-------------\n\nUnfortunately this project, like others, uses an older version of the\nreadability algorithm, Viz.\n\n`Matt\n\u003chttp://blog.interstellr.com/readability-in-python-using-lxml#comment_6488354\u003e`_:\n*[...]  the readability.js file that can be downloaded from the \"downloads\"\nsection of the Google Code project is a year and a half old and only 8.9KB\n(about 250 loc), while the trunk version (presumably similar to what's used in\nthe bookmarklet) has expanded to a whopping 73.5KB and 1825 loc.*\n\nIdeally, we should port this project to use the same algorithm as the\nbookmarklet.\n\nCredits\n-------\n\n``readability.py`` adds several bug fixes and features to ``hn.py`` in the\n`Readable Feeds`_ project that adapted the original `hn.py`_ by Nirmal Patel.\nreadability.py retains the original license (**GPL3**) chosen by its\npredecessors.\n\n\n.. __: http://code.google.com/p/arc90labs-readability/downloads/detail?name=readability.js\u0026can=2\u0026q=\n.. _`readability bookmarklet`: http://lab.arc90.com/experiments/readability/\n.. _`hn.py`: http://nirmalpatel.com/fcgi/hn.py\n.. _`Readable Feeds`: http://github.com/scyclops/Readable-Feeds\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Freadability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrid%2Freadability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Freadability/lists"}