metascraper
pandoc
metascraper | pandoc | |
---|---|---|
6 | 420 | |
2,238 | 32,449 | |
0.9% | - | |
8.9 | 9.8 | |
13 days ago | 6 days ago | |
HTML | Haskell | |
MIT License | GNU General Public License v2.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
metascraper
- Show HN: I made a tool to clean and convert any webpage to Markdown
-
Show HN: AboutIdeasNow β search /about, /ideas, /now pages of 7k+ personal sites
Yep but there is a fallback to metascraper [0] which does check the HTML tags. However the fallback didn't work in case GPT returns a 1970 date -- I just fixed this! [1]
I think you can now remove the date from your post content and it should still work. If you submit your website again it should do a re-scrape if you changed the content text. Thanks for catching this :)
[0] https://metascraper.js.org/#/
[1] https://github.com/lindylearn/aboutideasnow/commit/8b0ea5b46...
-
[Question] fetched data having "Promise<Any>" when it prints as a regular JSON object
200 {description: 'easily scrape metadata from an article on the web.', publisher: null, title: 'metascraper, easily scrape metadata from an article on the web.', url: 'https://metascraper.js.org'} [[Prototype]]: Object
-
9gag metadata scrapper
I am using this library https://github.com/microlinkhq/metascraper but it doesn't catch it.
-
Creating a serverless function to scrape web pages metadata
First of all, we'll use the got npm package to fetch the website content (feel free to use any other fetching library), and the metascraper npm package to extract the metadata:
-
Show HN: Link Preview (Unfurl/Expand) API
> After that, pricing starts at $25 per month for up to 15,000 requests.
This is very expensive for any decent usage. I have used tools like metascraper for this purpose and it worked pretty well. Setup just requires throwing a tiny nodejs app on a raspberry pi or $5 server and that can handle tons of requests.
https://github.com/microlinkhq/metascraper
pandoc
-
Beautifying Org Mode in Emacs (2018)
My main authoring tool is then Emacs Markdown Mode (https://jblevins.org/projects/markdown-mode/). For data entry, it comes with some bells and whistles similar to org-mode, like C-c C-l for inserting links etc.
I seldom export my notes for external usage, but if it is the case, I use lowdown (https://kristaps.bsd.lv/lowdown/) which also comes with some nice output targets (among the more unusual are Groff and Terminal). Of cource pandoc (https://pandoc.org/) does a very good job here, too.
-
Show HN: I made a tool to clean and convert any webpage to Markdown
This is one of those things that the ever-amazing pandoc (https://pandoc.org/) does very well, on top of supporting virtually every other document format.
-
LaTeX makes me so angry at word
Folks feel the same way about Markdown versus LaTeX: why use something significantly more complicated where a looser, human-readable grammar works better?
For any other situations, I use https://pandoc.org/, or, generate a Word doc scriptomatically.
-
π Versionner et builder l'eBook de son Entretien Annuel d'Evaluation sur Git(Hub)
pandoc toolchain pour builder une version confortable/imprimable en phase de travail (ePub, pdf, docx, html)
-
Launch HN: Onedoc (YC W24) β A better way to create PDFs
Congrats on the launch, I guess, but there are so many free options that I can't think of a situation where paying $0.25 per document would be justified...? Just to name a few:
Back in the days, I used to use XSL-FO [0] and it was okay. It was not very precise but it rarely if ever broke, and was perfectly integrated with an XML/XSLT solution. Yeah, this was a long time ago.
Last month I used html-to-pdfmake [1] and it's also not very precise and more fragile, but very efficient and fast.
Yet another approach would be to pro grammatically generate .rtf files (for example) and use Pandoc [2] to produce PDFs (I have not tried this in production but don't see why it wouldn't work).
[0] https://en.wikipedia.org/wiki/XSL_Formatting_Objects
[1] https://www.npmjs.com/package/html-to-pdfmake
[2] https://pandoc.org/
-
Ask HN: Looking for lightweight personal blogging platform
Others have mentioned static site generators. I like Hakyll [1] because it can tightly integrate with Pandoc [2] and allows you to develop custom solutions if your needs ever grow.
[1]: https://jaspervdj.be/hakyll/
[2]: https://pandoc.org/
-
Show HN: CLI for generating beautiful PDF for offline reading
Have you compared it with a conversion by pandoc (https://pandoc.org/)?
-
Pandoc
I have used it to kickstart a blogging project that I wish to come back to soon. The Lua inter-op for custom readers, writers and filters is great but I wish there was more editor integration and even perhaps an official IDE/editor with built-in debugging features (probably something already do-able with Emacs but I haven't checked). The only blocker for my project is no support for "ChunkedDoc" for Lua filters [1] which forces me to write more code and a complicated Makefile.
[1]: https://github.com/jgm/pandoc/issues/9061
- I don't always use LaTeX, but when I do, I compile to HTML (2013)
- What Happened to Pandoc-Discuss?
What are some alternatives?
vercel - Develop. Preview. Ship.
pandoc-highlighting-extensions - Extensions to Pandoc syntax highlighting
bbob - β‘οΈBlazing fast js bbcode parser, that transforms and parses bbcode to AST with plugin support in pure javascript, no dependencies
obsidian-html - :file_cabinet: A simple tool to convert an Obsidian vault into a static directory of HTML files.
url-metadata-scraper - Tiny Vercel serverless function to scrape metadata from a URL
obsidian-export - Rust library and CLI to export an Obsidian vault to regular Markdown
TWINT - An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
Obsidian-MD-To-PDF - A command line python script to convert Obsidian md files to a pdf
icecast-parser - Node.js module for getting and parsing metadata from SHOUTcast/Icecast radio streams
kramdown - kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax definition and supporting several common extensions.
patch-package - Fix broken node modules instantly ππ½ββοΈπ¨
wavedrom - :ocean: Digital timing diagram rendering engine