{"id":23465512,"url":"https://github.com/agentds/douban-user-spider","last_synced_at":"2025-07-06T01:04:02.359Z","repository":{"id":165020378,"uuid":"482744954","full_name":"AgentDS/Douban-User-Spider","owner":"AgentDS","description":"Spider for Douban book/movie/music of single user","archived":false,"fork":false,"pushed_at":"2022-04-18T07:47:59.000Z","size":3534,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T17:15:40.013Z","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/AgentDS.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":"2022-04-18T06:48:53.000Z","updated_at":"2022-04-18T07:39:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa680085-02d4-478c-a4e4-0ba5dc2723a7","html_url":"https://github.com/AgentDS/Douban-User-Spider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AgentDS/Douban-User-Spider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentDS%2FDouban-User-Spider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentDS%2FDouban-User-Spider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentDS%2FDouban-User-Spider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentDS%2FDouban-User-Spider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgentDS","download_url":"https://codeload.github.com/AgentDS/Douban-User-Spider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentDS%2FDouban-User-Spider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263833416,"owners_count":23517373,"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-24T11:29:39.746Z","updated_at":"2025-07-06T01:04:02.334Z","avatar_url":"https://github.com/AgentDS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Douban-User-Spider\nSpider for Douban book/movie/music of single user.\n\n[toc]\n\n## Environment\n\n__System:__ macOS Big Sur Version 11.4\n\n__Browser:__ Chrome\n\n\n\n## Example \n\nHere is an example usage for `movies_single_user.py`\n\n__Steps:__\n\n1. fill in `uid`, `total_num` in `movies_single_user.py`:\n\n   ```python\n   uid = \"166820507\"  # TODO: check the user id from DouBan url\n   total_num = 122  # TODO: total number of movies watched by this user\n   item_each_page = 15\n   all_movies = []\n   ```\n\n   for this user's movie information:\n\n   \u003cimg src=\"./pic1.png\" height=300\u003e\n\n2. fill in the `header_str` in `movies_single_user.py`, by pasting from browser developer's tool:\n\n   \u003cimg src=\"./pic2.png\"\u003e\n\n   copy the whole request header to the `header_str`:\n\n   \u003cimg src=\"./pic3.png\"\u003e\n\n3. run the script:\n\n   ```bash\n   cd Douban-User-Spider\n   \n   # in dir Douban-User-Spider/\n   python movies_single_user.py\n   ```\n\n4. check the output excel `./movies_166820507.xlsx`:\n\n   \u003cimg src=\"./pic4.png\" height=400\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentds%2Fdouban-user-spider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentds%2Fdouban-user-spider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentds%2Fdouban-user-spider/lists"}