From fdd0ee189849a0d356b7b1d51ab61a9a995e657f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joscha=20G=C3=B6tzer?= Date: Thu, 11 Jan 2024 22:34:14 +0100 Subject: [PATCH] Update GitHub scraping example in GUIDE.md --- GUIDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUIDE.md b/GUIDE.md index c272587bf..a7f401abd 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -1256,7 +1256,7 @@ import "@johnlindquist/kit" const items = await scrapeSelector( 'https://github.com/johnlindquist', // CSS Selector to target elements - '.pinned-item-list-item-content > div > a', + '.pinned-item-list-item-content > div > span > a', // [Optional] function to transform the elements, if omitted then `element.innerText` is returned (element) => ({ title: element.innerText,