YanCore
YanCore
When mapWatingActions intercepts an action, I want to format the waiter from args. In this way, when the list item is modified or deleted, the list item that is modified...
[puppet-padlocal](https://github.com/wechaty/puppet-padlocal) 能够正确获得群昵称。 ```python from typing import List from wechaty import Wechaty, WechatyPlugin,Contact, Room class RoomPlugin(WechatyPlugin): async def init_plugin(self, wechaty: Wechaty) -> None: room: Room = wechaty.Room.load("3xxxxxxxxxx@chatroom") await room.ready() members: List[Contact]...
我也出现了这样的情况。在 : 后面换行消息会被截断。问题主要出现在群聊消息中,个人消息没出现。
很高兴我解决了这个问题!是 [puppet-padlocal](https://github.com/wechaty/puppet-padlocal) v0.4.2 的 Bug ,但似乎最新版本依旧存在部分问题。 我 fork 了原项目,并简单修复了这个问题,可以重新编译并替换原模块 [YanCore/puppet-padlocal at fixbug-v0.4.2](https://github.com/YanCore/puppet-padlocal/tree/fixbug-v0.4.2) 。 原谅我不懂 TypeScript ,推荐自行修改源代码并重新编译!如果需要,可以使用我在 docker 容器中编译好的文件。 ``` docker run -ti --name wechaty_puppet_service_token_gateway --rm -e WECHATY_LOG="verbose" -e WECHATY_PUPPET="wechaty-puppet-padlocal" -e...
```python class VideoCardNode(Node): def __init__(self): self.aid = 0 def markdown(self): return f"[视频 av{self.aid}](https://www.bilibili.com/av{self.aid})\n\n" def json(self): return {"type": "VideoCardNode", "aid": self.aid} ``` 这里cid是错的,得用aid。 ```python class Note: async def fetch_content(self) -> None:...
- 我简单看了下`TwitterDownloader`的`create_download_tasks`的方法,可以传入单个、多个推文处理下载任务。 - `TwitterDownloader`的`handler_download`处理单个推文。`tweet_media_type`存在字符串、列表两种情况,单个推文包含多个视频时会是列表。  源码`if self.tweet_media_type in ["video", "animated_gif"]:`应该处理不了`tweet_media_type `是`['video', 'video']`的情况吧。 ```python class TwitterDownloader(BaseDownloader): async def handler_download( self, kwargs: dict, tweet_data_dict: dict, user_path: Any ) -> None: # 动图属于视频类型...
主要是收藏特定网页。后续如果能在网页上显示标签更好,应该有一定工作量。 发现收藏特定网页,我可以直接配置油猴设置。这样既可以收藏,部分链接也可以显示标签。 **更新**: 按照上面的配置,https://www.gov.cn/ UTags大部分功能都可以使用。需要适配让header不显示标签,以及其他部分标签样式。
另外,建议一个小功能:点击油猴菜单按钮,临时“隐藏当前页面标签”,隐藏当前页面的标签,可以方便截图等场景。
等我继续使用CCTV,再根据需要标记。
效果很好,很满意。