kickscondor / fraidycat

Follow blogs, wikis, YouTube channels, as well as accounts on Twitter, Instagram, etc. from a single page.
Other
1.75k stars 56 forks source link

support for WeChat official accounts? #144

Open tooironic opened 4 years ago

tooironic commented 4 years ago

Before you start.

My great idea for Fraidycat is: First I just want to say thank you so much for putting in the time and effort to come up with such a fantastic piece of software. I use it everyday for my PhD research and have been recommending it to all my classmates. It's brilliant. One feature that I think would make Fraidycat even better would be to allow you to follow WeChat official accounts (and Weibo too if that isn't supported already). WeChat official accounts are used by millions of Chinese people around the world. For example, there is an academic journal by the name of 'Translation Horizons' (http://translationhorizons.com) that I would love to follow, but it does not have an RSS, Twitter or Facebook account. It does, however, have a QR code for a WeChat official account at the bottom right-hand corner of the page. Is there a way Fraidycat could detect this, and follow it automatically? Many thanks again for making my doctoral life more productive and less stressful! Carl

kickscondor commented 4 years ago

Hi, tooironic! Lovely - I'm so glad you get such utility out of Fraidycat. And, of course, I want to support as many network as I can.

Just doing some initial naive searches, here are some links that may help us crack this question:

I am unfamiliar with WeChat - so it's difficult to say yet whether this is possible.

tooironic commented 4 years ago

Unfortunately I know nothing about coding and whatnot, so all I can do is provide you with the suggestion. But thanks again for all your hard work.

kickscondor commented 4 years ago

As a slight update, I've found a tool for getting RSS feeds from Weibo accounts.

The URL to use is:

https://rsshub.app/weibo/user/[user id]
kickscondor commented 4 years ago

Oh wow - also found WeChat?

https://rsshub.app/wechat/csm/huxiu_com
tooironic commented 4 years ago

@kickscondor I tried using the Weibo link in Fraidycat but it didn't work. For example this active Weibo account. Its user ID (as far as I can tell) is 231876520. But when I add it to the [user id] link you said, it came up with a 404 error. Also, I'm not sure how the WeChat link is supposed to work.

kickscondor commented 4 years ago

@tooironic Hey can you also give me some other sample WeChat URLs you are looking to follow?

tooironic commented 4 years ago

@kickscondor I am having trouble trying to find the URL from within the WeChat app. Say for example I want to follow the WeChat official account of http://www.catl.org.cn. Like many Chinese organization websites, they have posted a QR code on their website which links to their official account (http://www.catl.org.cn/2015-06/05/content_35749036.htm). Could there be a way Fraidycat could detect that URL and follow any posts it makes? I can get the URLs for individual articles (e.g. https://mp.weixin.qq.com/s/uXo9N2FncSKc5miMtMcgLw), but not for the WeChat official account page (if it exists).

linsui commented 4 years ago

It's basically impossible to fetch WeChat article without third-party service because it's designed to be that. And third-party services are unstable. You can have a look at how much effort has been put into this. https://github.com/DIYgod/RSSHub/issues?q=%E5%BE%AE%E4%BF%A1