Skip to content

Instantly share code, notes, and snippets.

@hamidb80
Last active February 19, 2026 10:25
Show Gist options
  • Select an option

  • Save hamidb80/f27bf0c57c3eb1f6abb0940a6ed63bdc to your computer and use it in GitHub Desktop.

Select an option

Save hamidb80/f27bf0c57c3eb1f6abb0940a6ed63bdc to your computer and use it in GitHub Desktop.
extract links in Google Scholar
let q = sel => [...document.querySelectorAll(sel)]
q('h3 a').map(el => ({link:el.getAttribute("href"), label: el.innerText})).map(a => `- [ ] [${a.label}](${a.link})`).join("\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment