10-11-2018, 11:44 AM
Hi everyone,
I am trying to capture the filters from a website so that i can use them to click on specific filters. But i couldnot figure out what to do. can anyone help me out with this. Below is the outertext of the filter.
The structure of the filter is that: New header of the filter start after "Clear" word. for example first five filters from the below string are given below
Offers
1. Clearance/Closeout \(1167\)
2. Last Act \(310\)
3. Limited-Time Special \(324\)
4. Sales & Discounts \(2811\)
5. Super Buy \(9\)
"outertext:=HeadingApply Filter By clear all Free Pick Up In Store Clear Offers Clear Clearance/Closeout \(1167\) Last Act \(310\) Limited-Time Special \(324\) Sales & Discounts \(2811\) Super Buy \(9\) Size Clear My Sizes Update My Sizes Add sizes now to use this feature Sign in to Start Saving in My Sizes You have size preferences associated with your profile\. My Sizes can filter products based on your preferred sizes every time you shop Sign In to Update My Sizes Regular Clear XS \(112\) S \(2442\) M \(2506\) L \(2559\) XL \(2453\) 2XL \(1848\) XXL \(82\) 3XL \(36\) Big & Tall Clear LTall \(21\) XLBig \(5\) XLTall \(55\) 2XLBig \(1016\) 2XLTall \(49\) 3XLBig \(270\) 3XLTall \(49\) 4XLBig \(95\) 4XLTall \(41\) 5XL \(1\) 5XLBig \(34\) 5XLTall \(1\) 6XLBig \(7\) Men's Waist & Inseam Clear Waist Clear 30 \(1\) 31 \(1\) 32 \(2\) 33 \(2\) 34 \(2\) 35 \(2\) 36 \(2\) 38 \(3\) 40 \(3\) 42 \(2\) 44 \(1\) Inseam Clear 32 \(1\) 34 \(1\) Brand Clear '47 Brand \(54\) 2\(x\)ist \(1\) 32 Degrees \(5\) adidas \(123\) Alfani \(60\) American Rag \(78\) Another Influence \(3\) Authentic NHL Apparel \(1\) A\|X Armani Exchange \(68\) Barbour \(4\) Billabong \(30\) Black Pyramid \(8\) BOSS \(2\) Bravado \(33\) Brooks Brothers \(4\) Buffalo David Bitton \(58\) C&C California \(6\) Calvin Klein \(32\) Calvin Klein Jeans \(82\) CCM \(11\) Centennial \(1\) Champion \(29\) Changes \(81\) Club Room \(11\) Colosseum \(1\) Columbia \(15\) CORELLA \(16\) Craghoppers \(1\) Daniel Hechter Paris \(2\) Dickies \(1\) DKNY \(32\) Dockers \(5\) Eastern Mountain Sports \(26\) Element \(21\) elevenparis \(21\) ExOfficio \(1\) FEA \(7\) Fifth Sun \(7\) Fox \(19\) Freeze 24-7 \(29\) G-Star Raw \(51\) G\.H\. Bass & Co\. \(1\) Greg Norman \(6\) GUESS \(86\) Heritage America \(5\) Hudson NYC \(15\) Hugo Boss \(71\) Hurley \(57\) Hybrid \(101\) Hybrid Apparel \(18\) Ideology \(30\) INC International Concepts \(75\) J America \(4\) Jack & Jones \(11\) Jaywalker \(5\) Jem \(11\) Just Cavalli \(10\) Karrimor \(7\) Kenneth Cole \(21\) Kenneth Cole New York \(8\) Lacoste \(22\) Levi's \(38\) Love Moschino \(21\) LRG \(32\) Lucky Brand \(57\) Majestic \(95\) Maui and Sons \(20\) Merch Traffic \(34\) Michael Kors \(8\) Mitchell & Ness \(15\) Moda Seta \(1\) Moschino \(1\) MUDDYFOX \(2\) Nautica \(46\) Neff \(14\) New World \(56\) Nike \(286\) O'Neill \(44\) Original Paperbacks \(5\) Original Penguin \(31\) Outerstuff \(5\) Perry Ellis \(6\) PGA TOUR \(1\) Polo Ralph Lauren \(79\) Profile \(2\) Puma \(20\) Punk Royal \(4\) Quiksilver \(46\) Reason \(6\) Retro Brand \(13\) Ring of Fire \(2\) Rip Curl \(16\) Ripple Junction \(14\) RVCA \(18\) Ryan Seacrest Distinction \(3\) Sean John \(66\) Silver Jeans Co\. \(4\) Speedo \(2\) Superdry \(27\) Tasso Elba \(4\) The North Face \(12\) Tommy Bahama \(31\) Tommy Hilfiger \(34\) True Religion \(45\) Under Armour \(92\) United by Blue \(5\) Univibe \(35\) Unk \(1\) Versace \(31\) VF Licensed Sports Group \(1\) Volcom \(41\) Weatherproof Vintage \(4\) Wrangler \(4\) Young & Reckless \(19\) T-Shirt Theme Clear Active \(414\) City & State \(4\) Girl Power \(2\) Logo \(184\) Music \(111\) Pop Culture \(400\) Star Wars \(4\) Superheroes \(24\) Surf & Skate \(227\) T-Shirt Style Clear Crewneck \(1753\) Henley \(54\) Longer Length \(12\) Undershirt \(16\) V-Neck \(141\) Sleeve Length Clear Tank \(120\) Short Sleeve \(2289\) Long Sleeve \(257\) Color Clear Black\(1033\) Blue\(924\) Brown\(36\) Gold\(17\) Gray\(590\) Green\(279\) Ivory/Cream\(1\) Multi\(106\) Orange\(74\) Pink\(63\) Purple\(64\) Red\(383\) Silver\(24\) Tan/Beige\(63\) White\(877\) Yellow\(70\) Performance Features Clear Anti-Microbial & Anti Odor \(20\) Anti-Static \(1\) Breathable \(21\) Comfort Fit \(37\) Compression \(6\) Dri-Fit \(20\) Moisture Wicking \(94\) No-Iron \(1\) Quick Drying \(14\) Stretch \(8\) Sun Protective \(5\) Tag-Free \(12\) Temperature Control \(1\) Ultra-Soft \(3\) Pattern Clear Graphic \(1809\) Solid \(345\) Stripe \(153\) Customers' Top Rated Clear 5 stars \(227\) 4 stars & up \(491\) 3 stars & up \(533\) Price Clear Under \$20 \(1318\) \$20-\$40 \(1344\) \$40-\$60 \(312\) \$60-\$80 \(129\) \$80-\$100 \(32\) \$100 & Above \(74\) Discount Range Clear 80% off & more \(5\) 70% off & more \(92\) 60% off & more \(372\) 50% off & more \(519\) 40% off & more \(932\) 30% off & more \(1159\) 20% off & more \(2048\) ",
I am trying to capture the filters from a website so that i can use them to click on specific filters. But i couldnot figure out what to do. can anyone help me out with this. Below is the outertext of the filter.
The structure of the filter is that: New header of the filter start after "Clear" word. for example first five filters from the below string are given below
Offers
1. Clearance/Closeout \(1167\)
2. Last Act \(310\)
3. Limited-Time Special \(324\)
4. Sales & Discounts \(2811\)
5. Super Buy \(9\)
"outertext:=HeadingApply Filter By clear all Free Pick Up In Store Clear Offers Clear Clearance/Closeout \(1167\) Last Act \(310\) Limited-Time Special \(324\) Sales & Discounts \(2811\) Super Buy \(9\) Size Clear My Sizes Update My Sizes Add sizes now to use this feature Sign in to Start Saving in My Sizes You have size preferences associated with your profile\. My Sizes can filter products based on your preferred sizes every time you shop Sign In to Update My Sizes Regular Clear XS \(112\) S \(2442\) M \(2506\) L \(2559\) XL \(2453\) 2XL \(1848\) XXL \(82\) 3XL \(36\) Big & Tall Clear LTall \(21\) XLBig \(5\) XLTall \(55\) 2XLBig \(1016\) 2XLTall \(49\) 3XLBig \(270\) 3XLTall \(49\) 4XLBig \(95\) 4XLTall \(41\) 5XL \(1\) 5XLBig \(34\) 5XLTall \(1\) 6XLBig \(7\) Men's Waist & Inseam Clear Waist Clear 30 \(1\) 31 \(1\) 32 \(2\) 33 \(2\) 34 \(2\) 35 \(2\) 36 \(2\) 38 \(3\) 40 \(3\) 42 \(2\) 44 \(1\) Inseam Clear 32 \(1\) 34 \(1\) Brand Clear '47 Brand \(54\) 2\(x\)ist \(1\) 32 Degrees \(5\) adidas \(123\) Alfani \(60\) American Rag \(78\) Another Influence \(3\) Authentic NHL Apparel \(1\) A\|X Armani Exchange \(68\) Barbour \(4\) Billabong \(30\) Black Pyramid \(8\) BOSS \(2\) Bravado \(33\) Brooks Brothers \(4\) Buffalo David Bitton \(58\) C&C California \(6\) Calvin Klein \(32\) Calvin Klein Jeans \(82\) CCM \(11\) Centennial \(1\) Champion \(29\) Changes \(81\) Club Room \(11\) Colosseum \(1\) Columbia \(15\) CORELLA \(16\) Craghoppers \(1\) Daniel Hechter Paris \(2\) Dickies \(1\) DKNY \(32\) Dockers \(5\) Eastern Mountain Sports \(26\) Element \(21\) elevenparis \(21\) ExOfficio \(1\) FEA \(7\) Fifth Sun \(7\) Fox \(19\) Freeze 24-7 \(29\) G-Star Raw \(51\) G\.H\. Bass & Co\. \(1\) Greg Norman \(6\) GUESS \(86\) Heritage America \(5\) Hudson NYC \(15\) Hugo Boss \(71\) Hurley \(57\) Hybrid \(101\) Hybrid Apparel \(18\) Ideology \(30\) INC International Concepts \(75\) J America \(4\) Jack & Jones \(11\) Jaywalker \(5\) Jem \(11\) Just Cavalli \(10\) Karrimor \(7\) Kenneth Cole \(21\) Kenneth Cole New York \(8\) Lacoste \(22\) Levi's \(38\) Love Moschino \(21\) LRG \(32\) Lucky Brand \(57\) Majestic \(95\) Maui and Sons \(20\) Merch Traffic \(34\) Michael Kors \(8\) Mitchell & Ness \(15\) Moda Seta \(1\) Moschino \(1\) MUDDYFOX \(2\) Nautica \(46\) Neff \(14\) New World \(56\) Nike \(286\) O'Neill \(44\) Original Paperbacks \(5\) Original Penguin \(31\) Outerstuff \(5\) Perry Ellis \(6\) PGA TOUR \(1\) Polo Ralph Lauren \(79\) Profile \(2\) Puma \(20\) Punk Royal \(4\) Quiksilver \(46\) Reason \(6\) Retro Brand \(13\) Ring of Fire \(2\) Rip Curl \(16\) Ripple Junction \(14\) RVCA \(18\) Ryan Seacrest Distinction \(3\) Sean John \(66\) Silver Jeans Co\. \(4\) Speedo \(2\) Superdry \(27\) Tasso Elba \(4\) The North Face \(12\) Tommy Bahama \(31\) Tommy Hilfiger \(34\) True Religion \(45\) Under Armour \(92\) United by Blue \(5\) Univibe \(35\) Unk \(1\) Versace \(31\) VF Licensed Sports Group \(1\) Volcom \(41\) Weatherproof Vintage \(4\) Wrangler \(4\) Young & Reckless \(19\) T-Shirt Theme Clear Active \(414\) City & State \(4\) Girl Power \(2\) Logo \(184\) Music \(111\) Pop Culture \(400\) Star Wars \(4\) Superheroes \(24\) Surf & Skate \(227\) T-Shirt Style Clear Crewneck \(1753\) Henley \(54\) Longer Length \(12\) Undershirt \(16\) V-Neck \(141\) Sleeve Length Clear Tank \(120\) Short Sleeve \(2289\) Long Sleeve \(257\) Color Clear Black\(1033\) Blue\(924\) Brown\(36\) Gold\(17\) Gray\(590\) Green\(279\) Ivory/Cream\(1\) Multi\(106\) Orange\(74\) Pink\(63\) Purple\(64\) Red\(383\) Silver\(24\) Tan/Beige\(63\) White\(877\) Yellow\(70\) Performance Features Clear Anti-Microbial & Anti Odor \(20\) Anti-Static \(1\) Breathable \(21\) Comfort Fit \(37\) Compression \(6\) Dri-Fit \(20\) Moisture Wicking \(94\) No-Iron \(1\) Quick Drying \(14\) Stretch \(8\) Sun Protective \(5\) Tag-Free \(12\) Temperature Control \(1\) Ultra-Soft \(3\) Pattern Clear Graphic \(1809\) Solid \(345\) Stripe \(153\) Customers' Top Rated Clear 5 stars \(227\) 4 stars & up \(491\) 3 stars & up \(533\) Price Clear Under \$20 \(1318\) \$20-\$40 \(1344\) \$40-\$60 \(312\) \$60-\$80 \(129\) \$80-\$100 \(32\) \$100 & Above \(74\) Discount Range Clear 80% off & more \(5\) 70% off & more \(92\) 60% off & more \(372\) 50% off & more \(519\) 40% off & more \(932\) 30% off & more \(1159\) 20% off & more \(2048\) ",