Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Bugfix: parseHandlesFromHtml() was missing in docs

Jan Curn1fef1c06cc53
diff --git a/src/utils_social.js b/src/utils_social.js
index 1d85ad19a..aae41ea5f 100644
--- a/src/utils_social.js
+++ b/src/utils_social.js
@@ -480,6 +480,8 @@ try {
* that contain text content of the HTML and `cheerio` object, respectively. This is an optimization
* so that the caller doesn't need to parse the HTML document again, if needed.
* @return {*} An object with the social handles.
+ *
+ * @memberOf social
*/
const parseHandlesFromHtml = (html, data = null) => {
const result = {