Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get title from wechat blogs #5

Open
jfding opened this issue Aug 2, 2022 · 1 comment
Open

Cannot get title from wechat blogs #5

jfding opened this issue Aug 2, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jfding
Copy link

jfding commented Aug 2, 2022

Wechat blogs are quite popular among wechat users, but the pages in this media platform have no <title> tags, instead, they are using:

<h1 class="rich_media_title " id="activity-name">
 XXXYYY
</h1>

to store the title.

e.g.:
https://mp.weixin.qq.com/s?__biz=MzAwODI4MjEwNQ==&mid=2454590588&idx=1&sn=1d3984701bf1d5a703d7fcc65ea6fbbe
https://mp.weixin.qq.com/s/a5_UUZ0vLEoKUmq3UtMv8w
https://mp.weixin.qq.com/s/3ZGoRsCWKn0GnB4hxoTSpw

@0x7b1
Copy link
Owner

0x7b1 commented Aug 9, 2022

Hey! thanks for the suggestion. Indeed, it's probably worth to fetch the link title based on custom urls like the one you mention. I found other sites that also don't work with a simple <title> lookup.

@0x7b1 0x7b1 added the enhancement New feature or request label Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants