Reddit的话题帖子如何都导出为电子书?

(3) /r/quotes: For your favorite quotes https://www.reddit.com/r/quotes/top/?t=all

喜欢这个名人名言的话题的帖子

网页与手机访问效率不高,想全部导出为txt,再用彩云小译翻译一下阅读。

请问有什么专门可以批量导出么?

https://www.reddit.com/r/quotes/.rss

姑且可以 RSS 订阅,可以实现定时抓取最新内容保存;

历史内容就比较麻烦了。。

1 Like

inoreader能把所有历史内容导出来么?

各个地方检查了一下,好像没有导出的功能

inoreader只要你加了星号,就可以用第三方rss阅读器把这些全部保存下来。

顺便我看了一下

The child who is not embraced by the village will burn it down to feel its warmth

说得好啊。

不知道能不能导出成 txt 但你可以保存成 html

这个帖讨论了离线 subreddit 的方法:How can i export a subreddit - r/DataHoarder

另外网页阅读我感觉还行啊,也可以直接翻译或者查词

可以这样试一下

1.打开链接 https://www.reddit.com/r/quotes/top/?t=all

  1. 往下拉,拉到你感觉够了为止

  2. F12 打开控制台,运行下面的脚本

function download(filename, text) {  var element = document.createElement('a');  element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));  element.setAttribute('download', filename);  element.style.display = 'none';  document.body.appendChild(element);  element.click();  document.body.removeChild(element);}all_h3=document.getElementsByTagName("h3");text="";for (i in all_h3) {  try {  if (all_h3[i].className[0] !== "_") {    continue;  }  text = text + "\n\n" + all_h3[i].innerHTML;  } catch(err) {    continue;  }}download("all_h3.txt", text);

我自己尝试的


“To announce that there must be no criticism of the President, or that we are to stand by the President, right or wrong, is not only unpatriotic and servile but is morally treasonable to the American public.” - Theodore Roosevelt

取得 Spotify Premium

"We live in a country where if you want to go bomb somebody, there’s remarkably little discussion about how much it might cost. But when you have a discussion about whether or not we can assist people who are suffering, then suddenly we become very cost-conscious." - Prof. Andrew Bacevich

"The most fucked up joke life can play on you is letting you meet the right person at the wrong time."

"The child who is not embraced by the village will burn it down to feel its warmth" - African proverb

"I support anyone's right to be who they want to be. My question is: to what extent do I have to participate in your self-image?" -Dave Chappelle

"We live in a country where if you want to go bomb somebody, there’s remarkably little discussion about how much it might cost. But when you have a discussion about whether or not we can assist people who are suffering, then suddenly we become very cost-conscious." - Prof. Andrew Bacevich

"If you raise your children, you can spoil your grandchildren. But if you spoil your children, you'll have to raise your grandchildren. - My Great Grandmother who passed away at 100 years old.

"People Cry, not because they're Weak. It's because they've been Strong for too Long." - Johnny Depp

'Socialism never took root in America because the poor see themselves not as an exploited proletariat but as temporarily embarrassed millionaires' - Steinbck

...
1 Like

哇哦!我晚上试一下,感谢大大!