Last active
December 31, 2015 23:40
-
-
Save JamesSkemp/e4745271af757d1e2826 to your computer and use it in GitHub Desktop.
Convert iMDB list links to RSS links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run the following command in developer tools. Links will now go to the list's RSS feed, for easy exporting. | |
$('#main .your_lists table.lists td.name a').each(function() { var originalHref = $(this).attr('href'); console.log(originalHref); $(this).attr('href', 'http://rss.imdb.com' + originalHref); }); | |
/* XPath on XML to verify the RSS contains all items. | |
count(//rss/channel/item) | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment