Skip to content

Instantly share code, notes, and snippets.

@sysnucleus
Created February 27, 2017 11:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sysnucleus/864803fdcb95757825890dcf057d4a15 to your computer and use it in GitHub Desktop.
Save sysnucleus/864803fdcb95757825890dcf057d4a15 to your computer and use it in GitHub Desktop.
To collect 'Title' / 'Seller' / 'In Stock'
1. Click on the required text
2. Select More Options > Capture More Content 10 times (The objective here is to get the complete HTML source of the page)
3. Select More Options > Capture HTML
4. Select More Options > Apply Regular Expression. Paste any one of following RegEx string and Apply.
id="productTitle">[\s]*([^<]*)
by[\s\S]*?id="brand"[^>]*>[\s]*([^<]*)
(In Stock)
To collect 'Shipping to Canada' / 'Shipping Price' details
1. Click on the heading 'Price :'
2. More Options > Capture Following text
3. Select More Options > Apply Regular Expression. Paste any one of following RegEx string and Apply
(Canada)
(\$[\.\d]*) Shipping
@Hero1992
Copy link

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