GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — interesting-python/Wechat_article_collector at master · Andrey-Zhu/interesting-python

Expand file tree

/

Wechat_article_collector

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

Wechat_article_collector

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
add_hyperlinks.py
add_hyperlinks.py
 
 
article_collector.py
article_collector.py
 
 
gzh.txt
gzh.txt
 
 
readme.md
readme.md
 
 
比心.JPG
比心.JPG
 
 

readme.md

Outline

微信公众号文章采集器

项目很简单,主要包括以下文件:

  • article_collector.py:主文件,用于爬取公众号文章以及把文章储存为word文档;
  • add_hyperlinks.py:用于在word文档中添加超链接
  • gzh.txt:待爬取的公众号列表
  • 比心.JPG:用来撒狗粮的,不用管

运行环境:

  • python3

需要安装的包:

  • WechatSogou
  • python-docx

注:步骤说明可以关注微信公众号:Alfred数据室,阅读对应文章《50行代码教你打造一个公众号文章采集器》

Wechat official account article colllector

It is a simple project containing files listed below:

  • article_collector.py:main file for crawling wechat official account articles and storing it into ms office word file
  • add_hyperlinks.py:for adding hyperlinks in ms office word file
  • gzh.txt:wechat official account list to crawl
  • 比心.JPG:just ignore it

Python environment

  • Python3

Packages need to be installed

  • WechatSogou
  • python-docx

Notice: you can find the detailed document by following Alfred's wechat official account: Alfred_Lab

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.