qsniyg / rssit

RSS Feed Generator
MIT License
61 stars 23 forks source link

How do I install this? #6

Open 7planets opened 4 years ago

7planets commented 4 years ago

Downloaded python 3.8 and tried to install requirements, but I get invalid synthax error (tried in cmd and python). I'm really green so help would be much appreciated, thanks!

qsniyg commented 4 years ago

Could you send the exact message it says (e.g. screenshotting the terminal)? Sorry, I'm not quite sure what the error is from your description...

7planets commented 4 years ago

https://i.imgur.com/gBPJjAc.png

qsniyg commented 4 years ago

@7planets Ahhh okay, that's supposed to be run in a bash shell :) You'll have to install WSL or Cygwin in order for it to work (WSL is much easier and more performant, but it only works on some/most Windows 10 versions)

In theory, it might also run under plain Windows (without Cygwin/WSL), but I've never tried this. Are you trying to setup a live recording system (i.e. following this tutorial https://whyhahm.blogspot.com/p/the-better-howto-on-everything.html), or just install rssit? If the former, then you'll need to use Cygwin/WSL.

7planets commented 4 years ago

I'm just trying to install rssit to generate Weibo feeds (and plug them into rss reader) because the ones at https://rssfeed.today/weibo/ are faulty and return 1 post like 5 times with different timestamps. Can I even do it with rssit?

qsniyg commented 4 years ago

@7planets It does support Weibo, but I haven't tested this for a long time, so there may be issues.

You'll need to login to Weibo and copy the cookie (I wrote a small tutorial in the tutorial linked above, search for "cookie"), then add it to rssit/config/rssit.ini (replacing ... with the cookie):

[weibo]
httpheader_Cookie = ...

Then just paste the user's URL into http://localhost:8123/ (or whatever the port is you configured, 8123 is the default) and it should return the feed for you to add :)