{"id":20980789,"url":"https://github.com/hoan02/novel-crawler","last_synced_at":"2025-03-13T10:17:46.424Z","repository":{"id":242109440,"uuid":"808273553","full_name":"hoan02/novel-crawler","owner":"hoan02","description":"Tool cào dữ liệu truyện để phục vụ cho doctruyen.io.vn","archived":false,"fork":false,"pushed_at":"2024-05-31T17:10:15.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T06:35:29.407Z","etag":null,"topics":["crawler","python"],"latest_commit_sha":null,"homepage":"https://doctruyen.io.vn/","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/hoan02.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-05-30T18:18:41.000Z","updated_at":"2024-05-31T17:12:37.000Z","dependencies_parsed_at":"2024-05-31T18:34:13.190Z","dependency_job_id":null,"html_url":"https://github.com/hoan02/novel-crawler","commit_stats":null,"previous_names":["hoan02/crawl-novels"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoan02%2Fnovel-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoan02%2Fnovel-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoan02%2Fnovel-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hoan02%2Fnovel-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hoan02","download_url":"https://codeload.github.com/hoan02/novel-crawler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243382934,"owners_count":20282051,"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":["crawler","python"],"created_at":"2024-11-19T05:30:07.247Z","updated_at":"2025-03-13T10:17:46.400Z","avatar_url":"https://github.com/hoan02.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Novel Crawler\n\n\nThis project is a web crawler designed to collect novels and their chapters from the website truyenfull.vn. The collected data is then stored in a MongoDB database for use in the development of the online novel reading platform doctruyen.io.vn.\n\n## Prerequisites\n\n- Python 3.7+\n- MongoDB\n- Required Python packages (see below)\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/novel-crawler.git\n   cd novel-crawler\n   ```\n2. Create a virtual environment and activate it:\n\n    ```bash\n   python -m venv venv\n   source venv/bin/activate   # On Windows use `venv\\Scripts\\activate`\n   ```\n3. Install the required packages:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n4. Create a .env file in the project root directory and add your MongoDB URI:\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate   # On Windows use `venv\\Scripts\\activate`\n   ```\n5. Create a novel_data.txt file in the project root directory and add the URLs and total chapters of the novels to crawl:\n\n   ```bash\n   url_1 total_chapters_1\n   url_2 total_chapters_2\n   ```\n## Usage\nRun the crawler:\n  ```bash\n  python crawl_novel_multi_threaded.py     # Or crawl_novel_single_threaded.py\n  ```\n## License\nThis project is licensed under the MIT License. See the LICENSE file for more details.\n\n## Copyright\nCopyright © 2024 Hoan Cu Te\n\n## Contact\nFacebook: [Lê Công Hoan](https://www.facebook.com/hoanit02/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoan02%2Fnovel-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhoan02%2Fnovel-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhoan02%2Fnovel-crawler/lists"}