https://github.com/lujun9972/toutiao.el
分享到开发者头条
https://github.com/lujun9972/toutiao.el
Last synced: 6 months ago
JSON representation
分享到开发者头条
- Host: GitHub
- URL: https://github.com/lujun9972/toutiao.el
- Owner: lujun9972
- Created: 2020-05-11T11:54:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T12:45:22.000Z (about 6 years ago)
- Last Synced: 2025-04-04T03:26:40.531Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
#+TITLE: README
#+AUTHOR: lujun9972
#+TAGS: toutiao.el
#+DATE: [2020-04-10 五 21:56]
#+LANGUAGE: zh-CN
#+STARTUP: inlineimages
#+OPTIONS: H:6 num:nil toc:t \n:nil ::t |:t ^:nil -:nil f:t *:t <:nil
* 配置
在使用toutiao分享开发者头条之前,需要先设置好Cookie中的 =permanent_user_id= 的值。
每个浏览器查看 Cookie 值的方法都不一样,具体可以百度。
以Firefox为例:
1. 在Firefox上访问 https://toutiao.io/ 并登录
2. 按 =Shift+Ctrl+i= 打开 Web Developer 面板
3. 选择 =Storage= 标签
4. 在左侧面板选择 =Cookies= -> =https://toutiao.io= 就能查看相应的值了
[[file:./images/screenshot-01.png]]
设置 =toutiao-user-id= 变量
* 分享文章
1. 执行 =M-x toutiao-post=
2. 以此输入分享文章的URL和标题
3. 选择分享的独家号