网络爬虫 | 使用Python采集豆瓣小组组员信息

...

2023-04-23 · 4 min · 大邓

使用 chatGPT 写 Python 网络爬虫

在以上的操作中,Step1 **找网址规律** 只要你把已经有规律性的内容丢给ta,ta能给你生成对应的代码。Step2 **发起访问** 这一步是需要我们重点测试的,因为chatgpt不能联网,一定确保访问ok,且获取的源代码中含有我们关注的信息。Step3 **解析数据** 把输入的html源代码和输出的数据中蕴含着规律丢给ta,需要重点检查 Step4 **存至csv** 没啥问题 Step5 **代码汇总** **Bug最多,最容易睁眼瞎写代码**。我明明采集hiadadeng.github.io, 结果有几次给我汇总的代码采集的是别的网站。定位方式偷换为BeautifulSoup。所以如果能懂爬虫五步法,可以自己负责提问题,负责每个环节的检查,最终的汇总Step5暂时不要交给chatGPT,还是留给我们自己吧。...

2023-02-15 · 3 min · 大邓

JM2022综述 | 黄金领域: 为营销研究(新洞察)采集网络数据

Journal of Marketing 2022年一篇关于营销领域网络爬虫的文献综述...

2022-12-03 · 4 min · Boegershausen

百度指数 | 使用qdata采集百度指数

百度指数数据采集...

2022-08-23 · 2 min · 大邓

数据集 | 企业社会责任报告数据集

近年来,企业社会责任(csr)已成为全球学术界研究的热点。国内外各大顶刊都先后刊登了多篇关于csr的文章,比如《企业绿色创新实践如何破解“和谐共生”难题?》(发表于管理世界)、《负责任的国际投资:ESG与中国OFDI》(发表于经济研究)、《Is my company really doing good? Factors influencing employees' evaluation of the authenticity of their company's corporate social responsibility engagement》(发表于JBR)等。这些文章核心变量的构建大都基于对企业社会责任报告的内容分析和挖掘。比如《企业绿色创新实践如何破解“和谐共生”难题?》的被解释变量(绿色创新)以及部分解释变量(二元合法性和伦理型领导)。可见,社会责任报告对于我们研究esg至关重要。因此,接下来小编就带大家爬取深交所上市公司历年的社会责任报告,希望能够给大家带来一些帮助。In recent years, corporate social responsibility (csr) has become a research hotspot in the global academic circles. Major top journals at home and abroad have successively published many articles on CSR, such as How can corporate green innovation practice solve the problem of harmonious symbiosis? (published in Governance World), Responsible International Investment: ESG and China's OFDI (published in Economic Research), Is my company really doing good? Factors influencing employees' evaluation of the authenticity of their company's corporate social responsibility engagement (published in JBR) et al. The construction of core variables in these articles is mostly based on the content analysis and mining of corporate social responsibility reports. For example, How can corporate green innovation practice solve the problem of harmonious symbiosis? 》The explained variable (green innovation) and part of the explanatory variables (dual legitimacy and ethical leadership). It can be seen that the social responsibility report is very important for us to study esg. Therefore, the next editor will take you to crawl the social responsibility reports of companies listed on the Shenzhen Stock Exchange over the years, hoping to bring you some help....

2022-08-04 · 3 min · 张延丰, 大邓