{"id":23689122,"url":"https://github.com/skykery/python-scripts","last_synced_at":"2026-01-12T19:30:18.181Z","repository":{"id":268518603,"uuid":"50180871","full_name":"skykery/Python-Scripts","owner":"skykery","description":"HtmlToText","archived":false,"fork":false,"pushed_at":"2016-01-22T13:16:46.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-30T00:34:57.175Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skykery.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-01-22T12:47:42.000Z","updated_at":"2016-01-22T13:05:30.000Z","dependencies_parsed_at":"2024-12-17T09:28:02.206Z","dependency_job_id":"3ef53f04-73d7-48f0-83c5-a657a1be1d99","html_url":"https://github.com/skykery/Python-Scripts","commit_stats":null,"previous_names":["skykery/python-scripts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skykery%2FPython-Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skykery%2FPython-Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skykery%2FPython-Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skykery%2FPython-Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skykery","download_url":"https://codeload.github.com/skykery/Python-Scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239748912,"owners_count":19690351,"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-12-30T00:35:27.785Z","updated_at":"2026-01-12T19:30:18.114Z","avatar_url":"https://github.com/skykery.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python-Scripts\n\n#Strip Html code from string.\n\n    def stripHTML (source):\n        #remove style\n        source = re.sub('\u003cstyle[^\u003e]*?\u003e[^\u003c]*?\u003c\\/style\u003e', '', source,flags=re.M|re.S|re.I)\n        #remove scripts\n        source = re.sub('\u003cscript[^\u003e]*?\u003e[^\u003c]*?\u003c\\/script\u003e', '', source,flags=re.M|re.S|re.I)\n        #remove comments\n        source = re.sub('\u003c!--.*?--\u003e','',source,flags=re.M|re.S|re.I)\n        #remove all html tags\n        source = re.sub('\u003c[^\u003c]+?\u003e', '', source,flags=re.M|re.S|re.I)\n        #remove multiple spaces\n        source = re.sub('\\s+', ' ', source,flags=re.M|re.S|re.I)\n        return source\n    \n    html = getSource(\"https://thewebminer.com\")\n    print(stripHTML(html))\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskykery%2Fpython-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskykery%2Fpython-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskykery%2Fpython-scripts/lists"}