Content-type: text/html ~ Stephen's Web ~ Web Scraping with Perl & ChatGPT

Stephen Downes

Knowledge, Learning, Community

So as I've mentioned before, I use that ancient language called Perl for most of my web scripting. As it turns out, one of the advantages of using an old language is that chatGPT performs very well when using it. Following the examples in this article, and then branching out on my own, I tried a number of scripts, all of which were executed flawlessly. Want 'feed to JSON'? Ask chatGPT to "write a Perl script to harvest an RSS feed from an SSL-secured site and convert the results into JSON format." Then if you want to output the results using Javascript, ask it to "take the results of this and write Javascript to display the feed on a web page as html." Voila! Feed2JS in about three minutes.

Today: 0 Total: 1482 [Direct link] [Share]

Stephen Downes Stephen Downes, Casselman, Canada

Copyright 2024
Last Updated: May 22, 2024 4:19 p.m.

Canadian Flag Creative Commons License.