{"id":23845805,"url":"https://github.com/bozzhik/meta-scraper","last_synced_at":"2026-02-23T13:16:05.857Z","repository":{"id":270004889,"uuid":"909098265","full_name":"bozzhik/meta-scraper","owner":"bozzhik","description":"python script that automates the collection of metadata from a list of provided websites","archived":false,"fork":false,"pushed_at":"2025-01-26T14:59:53.000Z","size":41,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T10:03:23.090Z","etag":null,"topics":["bozzhik","fetch-data","json","markdown","metadata","python"],"latest_commit_sha":null,"homepage":"","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/bozzhik.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":"2024-12-27T18:13:56.000Z","updated_at":"2025-01-26T14:59:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3c3d799-cb93-495c-ac55-76b7b1a1455c","html_url":"https://github.com/bozzhik/meta-scraper","commit_stats":null,"previous_names":["bozzhik/meta-scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bozzhik/meta-scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bozzhik%2Fmeta-scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bozzhik%2Fmeta-scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bozzhik%2Fmeta-scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bozzhik%2Fmeta-scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bozzhik","download_url":"https://codeload.github.com/bozzhik/meta-scraper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bozzhik%2Fmeta-scraper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29743765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bozzhik","fetch-data","json","markdown","metadata","python"],"created_at":"2025-01-02T20:40:05.930Z","updated_at":"2026-02-23T13:16:05.586Z","avatar_url":"https://github.com/bozzhik.png","language":"Python","readme":"# Meta Scraper: Website Metadata Extractor\n\n**meta-scraper** is a simple Python script that automates the collection of metadata (title, description, keywords, and author) from websites. It’s useful for competitor analysis or website auditing.\n\n## Features\n\n- Extracts metadata from a list of websites provided in a `websites.json` file.\n- Saves metadata as Markdown `.md` files in the `output` folder.\n- Filenames include a timestamp (`YYYYMMDD`) for better organization.\n- Gracefully handles errors for invalid or inaccessible URLs without creating unnecessary `.md` files.\n- Single-file script for easy use.\n\n## Requirements\n\n- Python 3.12.6 or higher\n- Libraries: `requests`, `beautifulsoup4`\n\nInstall the required libraries:\n\n```bash\npip install requests beautifulsoup4\n```\n\n## Usage\n\n1. Add websites to the `websites.json` file in the following format:\n\n   ```json\n   {\n     \"urls\": [\"https://bozzhik.com\", \"https://example.com\"]\n   }\n   ```\n\n2. Run the script:\n\n   ```bash\n   python main.py\n   ```\n\n3. Check the `output` folder for `.md` files containing the metadata. Filenames will include a timestamp (`YYYYMMDD`) followed by the website URL, e.g., `20231227_bozzhik.com.md`.\n\n4. If a URL is invalid or inaccessible, the script will display an error message in the console but will not create an `.md` file for that URL.\n\n## Example Output\n\nFor `https://bozzhik.com`, the output file in `output/` will look like this:\n\n```markdown\n# Metadata for https://bozzhik.com\n\n**Title:** BOZZHIK\n\n**Description:** I'm a website developer and user interface designer.\n\n**Keywords:** bozzhik, bozhik, bojic, maxim bozhik, maxim bojic\n\n**Author:** — — —\n```\n\nIf the URL is invalid, the script will display:\n\n```bash\nError fetching metadata for https://some-website.com: \u003cerror details\u003e\nSkipping https://some-website.com: Unable to fetch metadata (URL might be invalid or inaccessible).\n```\n\n## Project Structure\n\n```bash\nmeta-scraper/\n├── main.py              # Main script\n├── websites.json        # JSON file with a list of website URLs\n├── output/              # Folder for generated metadata files\n└── README.md            # Project documentation\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbozzhik%2Fmeta-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbozzhik%2Fmeta-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbozzhik%2Fmeta-scraper/lists"}