{"id":13648255,"url":"https://github.com/hanwentao/html2csv","last_synced_at":"2025-07-26T22:09:14.217Z","repository":{"id":45964073,"uuid":"195430690","full_name":"hanwentao/html2csv","owner":"hanwentao","description":"A utility that extracts tables from HTML documents and converts them to CSV format","archived":false,"fork":false,"pushed_at":"2023-06-03T11:57:58.000Z","size":16,"stargazers_count":35,"open_issues_count":10,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-14T20:20:18.388Z","etag":null,"topics":["command-line","convert","csv","html","table"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanwentao.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-05T15:23:26.000Z","updated_at":"2024-06-14T20:58:03.845Z","dependencies_parsed_at":"2024-06-14T20:58:02.629Z","dependency_job_id":"c555c2ed-cc22-4e8f-a5fa-df6758e4567c","html_url":"https://github.com/hanwentao/html2csv","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0714285714285714,"last_synced_commit":"fc27e30c90bc557ae812876d0d8c5514053128a5"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwentao%2Fhtml2csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwentao%2Fhtml2csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwentao%2Fhtml2csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanwentao%2Fhtml2csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanwentao","download_url":"https://codeload.github.com/hanwentao/html2csv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830912,"owners_count":20354848,"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":["command-line","convert","csv","html","table"],"created_at":"2024-08-02T01:04:05.416Z","updated_at":"2025-03-16T20:31:06.671Z","avatar_url":"https://github.com/hanwentao.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# html2csv\n\n[![Build Status](https://travis-ci.com/hanwentao/html2csv.svg?branch=master)](https://travis-ci.com/hanwentao/html2csv)\n\n`html2csv` is a utility that extracts tables from HTML documents and converts them to CSV format, written in Python.\n\n[![asciicast](https://asciinema.org/a/259747.svg)](https://asciinema.org/a/259747)\n\n## Setup\n\nPython 3 is required (version \u003e=3.6).  Install `html2csv` by `pip`.\n\n```\npip install html-to-csv\n```\n\nYes, the package name is `html-to-csv` due to collision ;-)\n\n## Examples\n\nInput from the standard input, and output to the standard output.\n\n    html2csv\n\nInput from a file, and output to the standard output.\n\n    html2csv example.html\n\nInput from files, and output to a file.\n\n    html2csv example1.html example2.html -o output.csv\n\nInput from the network, and output to the standard output.\n\n    html2csv http://example.com\n\n## Usage\n\n```\nusage: html2csv [-h] [-o [OUTPUT]] [-e ENGINE] [-V] [input [input ...]]\n\nConvert HTML table to CSV format.\n\npositional arguments:\n  input                 input sources (files, URLs, etc., default: standard\n                        input)\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -o [OUTPUT], --output [OUTPUT]\n                        output target (default: standard output)\n  -e ENGINE, --engine ENGINE\n                        HTML parser engine (default: html.parser or lxml if\n                        installed)\n  -V, --version         display version\n```\n\n## Author and Contact\n\nWentao Han (wentao.han@gmail.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanwentao%2Fhtml2csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhanwentao%2Fhtml2csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhanwentao%2Fhtml2csv/lists"}