I just shared this on another forum I post on, because I was getting lots of questions about it and I decided I can't forget about BHW so I'm posting this for you guys as well. Hope someone finds it useful!
Sample Output:
Source Code:
Explanation:
1) Fetch the RSS feed of the section you want to scrape.
2) Follow each link in the feed and extract the mailto: tag
3) Copy the tag as the item.title & item.description so it's readable in the pipe output
4) Output the pipe.
Ideas for improvement & better usage:
-decode the actual encoded link to make the data more workable
-output the pipe as a different format other than rss to make the data more workable (html, csv, json, xml, etc.)
-add support for multiple inputs
-add more regex-fu to support extracting titles & categories to their own fields
-subscribe to the feed with a feed reader and automatically build your list
Sample Output:
Source Code:
Explanation:
1) Fetch the RSS feed of the section you want to scrape.
2) Follow each link in the feed and extract the mailto: tag
3) Copy the tag as the item.title & item.description so it's readable in the pipe output
4) Output the pipe.
Ideas for improvement & better usage:
-decode the actual encoded link to make the data more workable
-output the pipe as a different format other than rss to make the data more workable (html, csv, json, xml, etc.)
-add support for multiple inputs
-add more regex-fu to support extracting titles & categories to their own fields
-subscribe to the feed with a feed reader and automatically build your list