Skip to content

Instantly share code, notes, and snippets.

@Christopher-Hayes
Last active October 19, 2021 17:30
Show Gist options
  • Save Christopher-Hayes/1f24385709c257efca3353a4b79cd09e to your computer and use it in GitHub Desktop.
Save Christopher-Hayes/1f24385709c257efca3353a4b79cd09e to your computer and use it in GitHub Desktop.
All Copilot - Download images from a list of <a> links
@Christopher-Hayes
Copy link
Author

GitHub Copilot is amazing. This code is almost entirely written by CoPilot. I pretty much only wrote the comments. All code pulled in from CoPilot worked without bugs.
Example usage: node.js downloadLinks.js ./input.txt

input.txt

<a href="https://via.placeholder.com/350x150">Placeholder Image</a>
<a href="https://via.placeholder.com/350x350">Placeholder Image 2</a>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment