stonewalljones / hfyebook Goto Github PK
View Code? Open in Web Editor NEWA tool to create Ebooks from Reddit posts. Created by /u/b3iAAoLZOH9Y265cujFh
A tool to create Ebooks from Reddit posts. Created by /u/b3iAAoLZOH9Y265cujFh
Simple as that: I'd love it if this could output MD-style results.
hi,
thanks for making your work on this tool public. i just did a fresh install and wanted to copmile the deathworlders as ebook, but afte rthe first few posts it got stuck. stacktrace is as follows:
λ node ebook.js specs\jverse-the-deathworlders.json
[Fetched] HFY_comments_2ftcpy
[Fetched] HFY_comments_2ftfyo_text_the_kevin_jenkins_experience_chapter_3
[Fetched] HFY_comments_2ftdrl_text_the_kevin_jenkins_experience_chapter_1_part
[Fetched] HFY_comments_2ftevq_text_the_kevin_jenkins_experience_chapter_2
[Fetched] HFY_comments_2vpp8e_ocjverse_17_battles_part_24
[Fetched] HFY_comments_2vpp9m_ocjverse_17_battles_part_34
[Fetched] HFY_comments_2vpp5v_ocjverse_17_battles_part_14
[Fetched] HFY_comments_2qhp6u_oc_jenkinsverse_15_forever_changed_pt_2
[Fetched] HFY_comments_2jf769_jenkinsverse_55_interlude_and_ultimatum
[Fetched] HFY_comments_2tsitq_ocjenkinsverse16_firebird_pt_12
[Fetched] HFY_comments_2kc8ls_oc_jenkinsverse_65_interludejargon
[Fetched] HFY_comments_2h6grb_oc_kevin_jenkins_an_eventful_month
[Fetched] HFY_comments_2inz1g_jenkinsverse_4_quarantine
[Fetched] HFY_comments_2vppaj_ocjverse_17_battles_part_44
R: ++End Chapter 17++
R: ++End Chapter 17++
[Fetched] HFY_comments_2kmpir_oc_jenkinsverse_7_tensions
R: ++End chapter 7++
[Fetched] HFY_comments_2fuo5o_oc_run_little_monster
[Fetched] HFY_comments_2tsmxm_ocjenkinsverse_16_firebird_pt_22
R: ++End of Chapter 16++
R: ++End of Chapter 16++
[Fetched] HFYA_deathworlders_chapter-03-aftermath
D:\hfyEbook\filters\finalize.js:51
if(last.type === 'text' && last.data.search(newl) > -1)
^
TypeError: Cannot read property 'type' of undefined
Reddit will block requests not signed with a user agent. The file from-reddit-post.js
needs to be amended with something like this:
request({ uri: params.chap.src + '.json', headers: {'User-Agent': 'Wykos HFY Bot'}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.