Skip to content

Instantly share code, notes, and snippets.

@ucnv
Created December 17, 2008 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ucnv/36964 to your computer and use it in GitHub Desktop.
Save ucnv/36964 to your computer and use it in GitHub Desktop.
private SITEINFO for AutoPagerize
[
{
'name': 'LiveJournal (General)',
'updated_at': '2008-12-17T15:32:17',
'created_by': 'ucnv',
'data': {
'url': '^http://[a-z0-9-]+\.livejournal\.com',
'nextLink': '//a[contains(text(),"earlier") or contains(text(),"Previous") or contains(text(),"back")]',
'pageElement': 'id("lj_controlstrip")/following-sibling::*[not(contains(@id,"autopagerize"))] | (//div[@align="center"])[1]',
'exampleUrl': 'http://brad.livejournal.com/',
},
'created_at': '2008-12-17T15:32:17'
},
{
'name': 'TSUTAYA DISCAS 予約リスト',
'updated_at': '2008-12-17T15:51:04',
'created_by': 'ucnv',
'data': {
'url': '^https://www\.discas\.net/netdvd/(w|updateW)ishlist',
'nextLink': '//a[text()="次へ"]',
'pageElement': '//input[@name="org.apache.struts.taglib.html.TOKEN"]/..',
'exampleUrl': 'https://www.discas.net/netdvd/wishlist.do?pT=0',
},
'created_at': '2008-12-17T15:51:04'
},
{
'name': 'Twitter',
'updated_at': '2009-02-06T15:03:00',
'created_by': 'ucnv',
'data': {
'url': '^https?://(?:(?:explore|m)\.)?twitter\.com/',
'nextLink': 'id("pagination")/a[1][not(following-sibling::span[@class="section_links disabled"])]',
'pageElement': 'id("content")//ol[contains(concat(" ", @class, " "), " statuses ")] | id("content")//table[contains(concat(" ", @class, " "), " doing ")]',
'exampleUrl': '',
},
'created_at': '2009-02-06T15:03:00'
},
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment