# 基于复杂网络的微博社区发现 **Repository Path**: ccccccky/community-detection-based-on-complex-network ## Basic Information - **Project Name**: 基于复杂网络的微博社区发现 - **Description**: No description available - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-01-05 - **Last Updated**: 2024-02-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于复杂网络的微博社区发现 **本程序主要能够完成爬取多个微博用户以及微博用户的关注关系的数据,并以此数据作为基础构建复杂网络并计算相关特性,最后根据这个网络进行社区发现。** 1. 运行weibo-spider,具体步骤在weibo-spider文件夹里。 2. 运行community-detection,具体步骤在community-detection文件夹里。 **注:在进行爬虫时需要用户自己的cookie。** --- ## 使用方法 ### 获取程序 ```python git clone https://gitee.com/ccccccky/community-detection-based-on-complex-network ``` ### 安装相关依赖 ``` cd community-detection-based-on-complex-network pip install -r requirements.txt ``` ### 进行爬虫 详细步骤看[weibo-spider](https://gitee.com/ccccccky/community-detection-based-on-complex-network/tree/master/weibo-spider) ### 构建复杂网络并进行社区发现 详细步骤看[community-detection](https://gitee.com/ccccccky/community-detection-based-on-complex-network/tree/master/community-detection)