1. 环境

  • 系统:win7
  • python:3.6.1
  • IDE:pycharm
  • 平台:scrapy

2. 目标

  • 按照下图中的下拉列表,构造搜索链接:

  • 在“All”类目下,搜索关键字“phone mount”,请求连接为:
    https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=phone+mount

  • 在“Cell Phones & Accessories”类目下,搜索关键字“phone mount”,请求连接为:
    https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dmobile&field-keywords=phone+mount&rh=n%3A2335752011%2Ck%3Aphone+mount

  • 在“Amazon Devices”类目下,搜索关键字“phone mount”,请求连接为:
    https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Damazon-devices&field-keywords=phone+mount&rh=n%3A16333372011%2Ck%3Aphone+mount

3. 方案

3.1. 分析不同

  • 第一步,对比这几个搜索的不同:

https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=phone+mount

https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dmobile&field-keywords=phone+mount&rh=n%3A2335752011%2Ck%3Aphone+mount

https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Damazon-devices&field-keywords=phone+mount&rh=n%3A16333372011%2Ck%3Aphone+mount

  • 发现关键点就在于 rh=n%3A16333372011%2Ck%3A ,排除掉经过url编码过的特殊字符之外,关键参数就是:2335752011, 16333372011

3.2. 寻找参数来源

  • 这些参数【2335752011, 16333372011】肯定不可能是空穴来风,一定就藏在原始页面的源代码中。
  • 拿到原始页面(refer页面)的源代码:
  • 搜索这两个数字,找到如下这段代码:
<script type="text/javascript">window.$Nav && $Nav.when("data").run(function(data) { data({"shopAllContent":{"template":{"name":"itemList","data":{"items":[{"text":"Amazon Video","panelKey":"InstantVideoPanel"},{"text":"Amazon Music","panelKey":"DigitalMusicPanel"},{"text":"Appstore for Android","panelKey":"AndroidPanel"},{"text":"Echo & Alexa","panelKey":"KindleAmazonEchoPanel"},{"text":"Fire Tablets","panelKey":"KindleFireTabletPanel"},{"text":"Fire TV","panelKey":"FireTvPanel"},{"text":"Kindle E-readers & Books","panelKey":"KindleReaderPanel"},{"text":"Books & Audible","dividerBefore":"1","panelKey":"BooksPanel"},{"text":"Movies, Music & Games","panelKey":"MoviesMusicGamesPanel"},{"text":"Electronics, Computers & Office","panelKey":"ElectronicsComputersPanel"},{"text":"Home, Garden & Tools","panelKey":"HomeGardenToolsPanel"},{"text":"Food & Grocery","panelKey":"FoodGroceryPanel"},{"text":"Beauty & Health","panelKey":"BeautyHealthPanel"},{"text":"Toys, Kids & Baby","panelKey":"ToysKidsBabyPanel"},{"text":"Clothing, Shoes & Jewelry","panelKey":"ClothingShoesJewelryPanel"},{"text":"Handmade","panelKey":"HandmadePanel"},{"text":"Sports & Outdoors","panelKey":"SportsOutdoorsT1Panel"},{"text":"Automotive & Industrial","panelKey":"AutomotiveIndustrialPanel"},{"text":"Home Services","dividerBefore":"1","panelKey":"HomeServicesPanel"},{"text":"Credit & Payment Products","panelKey":"CreditPanel"},{"text":"Full Store Directory","decorate":"carat","url":"/gp/site-directory/ref=nav_shopall_fullstore"}]}},"url":"/stream/hotpicks/ref=strm_in_sd_banner_dsktp?asFilter=HP","wlTriggers":"118061:52036"},"KindleReaderPanel":{"promoID":"nav-sa-kindle-reader","template":{"name":"itemList","data":{"text":"Kindle E-readers & Books","items":[{"text":"Kindle E-readers","items":[{"subtext":"Small, light, and perfect for reading","text":"Kindle","url":"/dp/B00ZV9PXP2/ref=nav_shopall_1_k_ods_eink_bn"},{"subtext":"Our best-selling Kindle—now even better","text":"Kindle Paperwhite","url":"/dp/B00OQVZDJM/ref=nav_shopall_1_k_ods_eink_mt"},{"subtext":"Passionately crafted for readers","text":"Kindle Voyage","url":"/dp/B00IOY8XWQ/ref=nav_shopall_1_k_ods_eink_ie"},{"subtext":"Now Waterproof","text":"All-New Kindle Oasis","url":"/dp/B06XD5YCKX/ref=nav_shopall_1_k_ods_eink_cc"},{"subtext":"It's not screen time - it's book time","text":"Kindle for Kids Bundle","url":"/dp/B01KMSKNGU/ref=nav_shopall_1_k_ods_eink_keb"},{"subtext":"Covers, chargers, sleeves and more","text":"Accessories","url":"/Kindle-Accessories-Electronics/b/ref=nav_shopall_1_ods_eink_acc?ie=UTF8&node=370783011"},{"subtext":"Compare e-readers, find deals, and more","text":"See all Kindle E-readers","url":"/Amazon-Kindle-Ereader-Family/b/ref=nav_shopall_1_ods_eink_catp?ie=UTF8&node=6669702011"}]},{"text":"Kindle Store","dividerBefore":"1","items":[{"text":"Kindle Books","url":"/Kindle-eBooks/b/ref=nav_shopall_1_ods_eink_con_books?ie=UTF8&node=1286228011"},{"text":"Newsstand","url":"/Magazines-Journals-Kindle/b/ref=nav_shopall_1_ods_eink_con_news?ie=UTF8&node=241646011"},{"subtext":"Unlimited reading & listening","text":"Kindle Unlimited","url":"/gp/kindle/ku/sign-up/ui/rw/about/ref=nav_shopall_1_ods_eink_con_ku"},{"text":"Prime Reading","url":"/kindle-dbs/fd/prime-pr/ref=nav_shopall_1_ods_eink_con_pr"}]},{"text":"Apps & Resources","columnBreak":"1","items":[{"subtext":"For PC, iPad, iPhone, Android, and more","text":"Free Kindle Reading Apps","url":"/gp/feature.html/ref=nav_shopall_1_ods_eink_con_karl?ie=UTF8&docId=1000493771"},{"subtext":"Read your Kindle books in a browser","text":"Kindle Cloud Reader","url":"/gp/redirect.html/ref=nav_shopall_1_ods_eink_con_kcr?location=https://read.amazon.com/&token=34AD60CFC4DCD7A97D4E2F4A4A7C4149FBEEF236&source=standards"},{"text":"Manage Your Content and Devices","url":"/gp/digital/fiona/manage/ref=nav_shopall_1_ods_eink_con_myk"}]}]}}},"signinContent":{"html":"<div id='nav-signin-tooltip'><a href='/gp/navigation/redirector.html/ref=sign-in-redirect?ie=UTF8&amp;associationHandle=usflex&amp;currentPageURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_custrec_signin&amp;pageType=&amp;switchAccount=&amp;yshURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_custrec_signin' class='nav-action-button' data-nav-role='signin' data-nav-ref='nav_custrec_signin'><span class='nav-action-inner'>Sign in</span></a><div class='nav-signin-tooltip-footer'>New customer? <a href='https://www.amazon.com/ap/register?_encoding=UTF8&amp;openid.assoc_handle=usflex&amp;openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.mode=checkid_setup&amp;openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&amp;openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&amp;openid.pape.max_auth_age=0&amp;openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_custrec_newcust' class='nav-a'>Start here.</a></div></div>"},"ElectronicsComputersPanel":{"promoID":"nav-sa-electronics-computers","template":{"name":"itemList","data":{"text":"Electronics, Computers & Office","items":[{"text":"Electronics","items":[{"text":"TV & Video","url":"/Televisions-Video/b/ref=nav_shopall_tv?ie=UTF8&node=1266092011"},{"text":"Home Audio & Theater","url":"/Home-Audio-Electronics/b/ref=nav_shopall_hat?ie=UTF8&node=667846011"},{"text":"Camera, Photo & Video","url":"/Camera-Photo-Film-Canon-Sony/b/ref=nav_shopall_p?ie=UTF8&node=502394"},{"text":"Cell Phones & Accessories","url":"/cell-phones-service-plans-accessories/b/ref=nav_shopall_wi?ie=UTF8&node=2335752011"},{"text":"Headphones","url":"/Headphones-Accessories-Supplies/b/ref=nav_shopall_headphones?ie=UTF8&node=172541"},{"text":"Video Games","url":"/computer-video-games-hardware-accessories/b/ref=nav_shopall_cvg_ce?ie=UTF8&node=468642"},{"text":"Bluetooth & Wireless Speakers","url":"/Multiroom-Digital-Music-Systems/b/ref=nav_shopall_bluetoothwireless?ie=UTF8&node=322215011"},{"text":"Car Electronics","url":"/Car-Electronics/b/ref=nav_shopall_gps_ce?ie=UTF8&node=1077068"},{"text":"Musical Instruments","url":"/musical-instruments-accessories-sound-recording/b/ref=nav_shopall_mi_ce?ie=UTF8&node=11091801"},{"text":"Wearable Technology","url":"/b/ref=nav_shopall_wear_tech?ie=UTF8&node=9013937011"},{"text":"Electronics Showcase","url":"/electronics-store/b/ref=nav_shopall_elec_hub?ie=UTF8&node=172282"}]},{"text":"Computers","columnBreak":"1","items":[{"text":"Computers & Tablets","url":"/Computers-Tablets/b/ref=nav_shopall_basedevices?ie=UTF8&node=13896617011"},{"text":"Monitors","url":"/Monitors-Computers-Accessories/b/ref=nav_shopall_monitors?ie=UTF8&node=1292115011"},{"subtext":"For computers, laptops & tablets","text":"Accessories","url":"/Computer-Accessories-Supplies/b/ref=nav_shopall_compaccess?ie=UTF8&node=172456"},{"text":" Networking ","url":"/Networking-Computer-Add-Ons-Computers/b/ref=nav_shopall_networking?ie=UTF8&node=172504"},{"text":"Drives & Storage","url":"/Memory-Cards-External-Storage/b/ref=nav_shopall_storage?ie=UTF8&node=1292110011"},{"text":"Computer Parts & Components","url":"/PC-Parts-Components/b/ref=nav_shopall_components?ie=UTF8&node=193870011"},{"subtext":"Downloads, subscriptions & more","text":"Software","url":"/design-download-business-education-software/b/ref=nav_shopall_sw?ie=UTF8&node=229534"},{"text":"Printers & Ink","url":"/Printers-Office-Electronics/b/ref=nav_shopall_printers?ie=UTF8&node=172635"},{"text":"Office & School Supplies","url":"/office-products-supplies-electronics-furniture/b/ref=nav_shopall_op?ie=UTF8&node=1064954"},{"text":"Trade In Your Electronics","url":"/Electronics-Trade-In/b/ref=nav_shopall_trade_in_elec?ie=UTF8&node=2226766011"}]}]}}},"accountListContent":{"html":"<div id='nav-al-container'><div id='nav-al-signin'><div id='nav-flyout-ya-signin' class='nav-flyout-content'><a href='/gp/navigation/redirector.html/ref=sign-in-redirect?ie=UTF8&amp;associationHandle=usflex&amp;currentPageURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_signin&amp;pageType=&amp;switchAccount=&amp;yshURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_signin' rel='nofollow' class='nav-action-button' data-nav-role='signin' data-nav-ref='nav_signin'><span class='nav-action-inner'>Sign in</span></a><div id='nav-flyout-ya-newCust' class='nav_pop_new_cust nav-flyout-content'>New customer? <a href='https://www.amazon.com/ap/register?_encoding=UTF8&amp;openid.assoc_handle=usflex&amp;openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.mode=checkid_setup&amp;openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&amp;openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&amp;openid.pape.max_auth_age=0&amp;openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_newcust' rel='nofollow' class='nav-a'>Start here.</a></div></div></div><div id='nav-al-wishlist' class='nav-al-column nav-tpl-itemList'><div class='nav-title' id='nav-al-title'>Your Lists</div><a href='/gp/registry/wishlist/ref=nav_wishlist_create?ie=UTF8&amp;triggerElementID=createList' class='nav-link nav-item'><span class='nav-text'>Create a List</span></a><a href='/gp/registry/search/ref=nav_wishlist_find' class='nav-link nav-item'><span class='nav-text'>Find a List or Registry</span></a><a href='/gcx/Gifts-for-Adults/gfhz/ref=nav_wishlist_gf' class='nav-link nav-item'><span class='nav-text'>Find a Gift</span></a><a href='/gp/BIT/ref=nav_wishlist_bit_v2_a0032?ie=UTF8&amp;bitCampaignCode=a0032' class='nav-link nav-item'><span class='nav-text'>Save Items from the Web</span></a><a href='/wedding/home/ref=nav_wishlist_wr' class='nav-link nav-item'><span class='nav-text'>Wedding Registry</span></a><a href='/baby-reg/homepage/ref=nav_wishlist_br' class='nav-link nav-item'><span class='nav-text'>Baby Registry</span></a><a href='/gp/gift-central/organizer/ref=nav_wishlist_fafgift' class='nav-link nav-item'><span class='nav-text'>Friends & Family Gifting</span></a><a href='/gp/pantry/yourlists/ref=nav_wishlist_pntry_gno' class='nav-link nav-item'><span class='nav-text'>Pantry Lists</span></a><a href='/stream/saves/items/ref=nav_wishlist_strm_in_youtique_lists' class='nav-link nav-item'><span class='nav-text'>Your Hearts</span></a></div><div id='nav-al-your-account' class='nav-al-column nav-template nav-flyout-content nav-tpl-itemList'><div class='nav-title'>Your Account</div><a href='/gp/css/homepage.html/ref=nav_youraccount_ya' class='nav-link nav-item'><span class='nav-text'>Your Account</span></a><a href='/gp/css/order-history/ref=nav_youraccount_orders' class='nav-link nav-item' id='nav_prefetch_yourorders'><span class='nav-text'>Your Orders</span></a><a href='/gp/registry/wishlist/ref=nav_youraccount_wl?ie=UTF8&amp;requiresSignIn=1' class='nav-link nav-item'><span class='nav-text'>Your Lists</span></a><a href='/gp/yourstore/ref=nav_youraccount_recs' class='nav-link nav-item'><span class='nav-text'>Your Recommendations</span></a><a href='/gp/subscribe-and-save/manager/viewsubscriptions/ref=nav_youraccount_sns' class='nav-link nav-item'><span class='nav-text'>Your Subscribe & Save Items</span></a><a href='/yourmembershipsandsubscriptions/ref=digital_subscriptions' class='nav-link nav-item'><span class='nav-text'>Memberships & Subscriptions</span></a><a href='/localservices/ya/servicerequests/ref=nav_youraccount_desktop_vas_requestlist' class='nav-link nav-item'><span class='nav-text'>Your Service Requests</span></a><a href='/gp/subs/primeclub/account/homepage.html/ref=nav_youraccount_prime' class='nav-link nav-item'><span class='nav-text'>Your Prime Membership</span></a><a href='/gp/your-garage/ref=nav_youraccount_au_pf_as_GNO' class='nav-link nav-item'><span class='nav-text'>Your Garage</span></a><a href='/b/ref=nav_youraccount_b2b_reg?ie=UTF8&amp;node=11261610011' class='nav-link nav-item'><span class='nav-text'>Register for a Business Account</span></a><a href='/Credit-Cards/b/ref=nav_youraccount_cc?ie=UTF8&amp;node=1266766011' class='nav-link nav-item'><span class='nav-text'>Your Amazon Credit Cards</span></a><a href='/mn/dcw/myx.html/ref=nav_youraccount_myk' class='nav-link nav-item'><span class='nav-text'>Your Content and Devices</span></a><a href='/gp/dmusic/mp3/player/ref=nav_youraccount_cldplyr' class='nav-link nav-item'><span class='nav-text'>Your Music Library</span></a><a href='/photos/ref=nav_youraccount_primephotos' class='nav-link nav-item'><span class='nav-text'>Your Prime Photos</span></a><a href='/clouddrive/ref=nav_youraccount_clddrv' class='nav-link nav-item'><span class='nav-text'>Your Amazon Drive</span></a><a href='/Prime-Instant-Video/s/browse/ref=nav_youraccount_piv?_encoding=UTF8&amp;node=2676882011' class='nav-link nav-item'><span class='nav-text'>Your Prime Video</span></a><a href='/gp/kindle/ku/ku_central/ref=nav_youraccount_ku' class='nav-link nav-item'><span class='nav-text'>Your Kindle Unlimited</span></a><a href='/gp/video/watchlist/ref=nav_youraccount_ywl' class='nav-link nav-item'><span class='nav-text'>Your Watchlist</span></a><a href='/gp/video/library/ref=nav_youraccount_yvl' class='nav-link nav-item'><span class='nav-text'>Your Video Library</span></a><a href='/gp/mas/your-account/myapps/ref=nav_youraccount_aad' class='nav-link nav-item'><span class='nav-text'>Your Android Apps & Devices</span></a></div></div>"},"FoodGroceryPanel":{"promoID":"nav-sa-food-grocery","template":{"name":"itemList","data":{"text":"Food & Grocery","items":[{"text":"Amazon Restaurants","items":[{"subtext":"Available in select cities","text":"See All Restaurants","url":"/restaurants?ref_=nav_shopall_amzrst_all_topnav"},{"text":"Popular Restaurants","url":"/restaurants/m/popular-restaurants?ref_=nav_shopall_amzrst_popular_topnav"}]},{"text":"Grocery & Wine","dividerBefore":"1","items":[{"text":"Grocery & Gourmet Food","url":"/grocery-breakfast-foods-snacks-organic/b/ref=nav_shopall_gro?ie=UTF8&node=16310101"},{"subtext":"Available in select states","text":"Wine","url":"/Wine-Red-White-Sparkling-Dessert-Rose/b/ref=nav_shopall_wine?ie=UTF8&node=2983386011"},{"subtext":"Available in select cities","text":"AmazonFresh","url":"/AmazonFresh/b/ref=nav_shopall_fresh?ie=UTF8&node=10329849011"},{"subtext":"Everyday essentials in everyday sizes","text":"Prime Pantry","url":"/Prime-Pantry/b/ref=nav_shopall_prime_pantry?ie=UTF8&node=7301146011"},{"text":"Amazon Launchpad Food","url":"/b/ref=nav_shopall_lpd_gno_csmbl?ie=UTF8&node=12034492011"},{"subtext":"Up to 15% off, free shipping, and more","text":"Subscribe & Save","url":"/Subscribe-Save/b/ref=nav_shopall_subscribe_save?ie=UTF8&node=5856181011"},{"text":"Wickedly Prime","url":"/Wickedly-Prime/b/ref=nav_shopall_wickedlyprime?ie=UTF8&node=13854994011"}]}]}}},"FireTvPanel":{"promoID":"nav-sa-fire-tv","template":{"name":"itemList","data":{"text":"Fire TV","items":[{"text":"Watch and Play","items":[{"subtext":"4K Ultra HD and HDR streaming media player with voice remote","text":"All-New Fire TV","url":"/dp/B01N32NCPM/ref=nav_shopall_1_k_ods_smp_ne"},{"subtext":"The next generation of our bestselling Fire TV Stick","text":"Fire TV Stick","url":"/dp/B00ZV9RDKK/ref=nav_shopall_1_k_ods_smp_tk"},{"subtext":"No cable required. Watch TV live. Stream on-demand.","text":"All-New Fire TV + HD Antenna","url":"/dp/B07592RZ8M/ref=nav_shopall_1_k_ods_smp_ccb"},{"subtext":"With true-to-life 4K Ultra HD picture quality and Fire TV built in","text":"Fire TV Edition Smart TVs","url":"/dp/B06XDC9RBJ/ref=nav_shopall_1_k_ods_smp_ra"},{"subtext":"Adapters, protection plans, and more","text":"Accessories","url":"/Fire-TV-Accessories/b/ref=nav_shopall_1_ods_smp_acc?ie=UTF8&node=8946438011"},{"subtext":"Compare media players, find deals, and more","text":"See Fire TV Family","url":"/amazon-devices/b/ref=nav_shopall_1_ods_smp_catp?ie=UTF8&node=8521791011"}]},{"text":"Movies, TV, and Games","columnBreak":"1","items":[{"text":"Prime Video","url":"/Prime-Instant-Video/s/browse/ref=nav_shopall_1_ods_tv_con_piv?_encoding=UTF8&node=2676882011"},{"text":"Amazon Video","url":"/Instant-Video/s/browse/ref=nav_shopall_1_ods_tv_con_aiv?_encoding=UTF8&node=2858778011"},{"text":"Fire TV Apps & Channels","url":"/Fire-TV-Apps-All-Models/b/ref=nav_shopall_1_ods_tv_apps_chan?ie=UTF8&node=10208590011"},{"text":"Games for Fire TV","url":"/Fire-TV-Apps-Previous-Generation/b/ref=nav_shopall_1_ods_tv_con_gaming?ie=UTF8&node=7031433011"},{"text":"Prime Photos","url":"/STRING-subnav-prime-photos/b/ref=nav_shopall_1_ods_tv_con_cd?ie=UTF8&node=13234696011"}]}]}}},"AutomotiveIndustrialPanel":{"promoID":"nav-sa-automotive-industrial","template":{"name":"itemList","data":{"text":"Automotive & Industrial","items":[{"text":"Automotive","items":[{"text":"Automotive Parts & Accessories","url":"/automotive-auto-truck-replacements-parts/b/ref=nav_shopall_apa?ie=UTF8&node=15684181"},{"text":"Automotive Tools & Equipment","url":"/Tools-Equipment-Automotive/b/ref=nav_shopall_ate?ie=UTF8&node=15706941"},{"text":"Car/Vehicle Electronics & GPS","url":"/Vehicle-Electronics/b/ref=nav_shopall_ceg?ie=UTF8&node=3248684011"},{"text":"Tires & Wheels","url":"/Automotive-Tires-Wheels/b/ref=nav_shopall_wt?ie=UTF8&node=15706571"},{"text":"Motorcycle & Powersports","url":"/Motorcycle-ATV-Automotive/b/ref=nav_shopall_matv?ie=UTF8&node=346333011"},{"subtext":"See specs, read reviews, and ask owners","text":"Vehicles","url":"/Vehicles/b/ref=nav_shopall_vdp_store?ie=UTF8&node=10677469011","dividerBefore":"1"},{"subtext":"Find parts for your vehicles","text":"Your Garage","url":"/gp/your-garage/ref=nav_shopall_au_pf_as_GNO","dividerBefore":"1"}]},{"text":"Industrial & Scientific","dividerBefore":"1","items":[{"text":"Industrial Supplies","url":"/industrial-scientific-supplies/b/ref=nav_shopall_ind_sup?ie=UTF8&node=16310091"},{"text":"Lab & Scientific","url":"/Lab-Scientific-Supplies/b/ref=nav_shopall_ind_lab?ie=UTF8&node=317970011"},{"text":"Janitorial","url":"/Janitorial-Sanitation-Supplies/b/ref=nav_shopall_ind_jan?ie=UTF8&node=317971011"},{"text":"Safety","url":"/Occupational-Health-Safety-Products/b/ref=nav_shopall_ind_saf?ie=UTF8&node=318135011"},{"text":"Food Service","url":"/Food-Service-Equipment-Supplies/b/ref=nav_shopall_ind_fs?ie=UTF8&node=6054382011"},{"text":"Material Handling","url":"/Material-Handling-Products/b/ref=nav_shopall_ind_mh?ie=UTF8&node=256346011"},{"subtext":"Shopping for work? Register a free account","text":"Amazon Business","url":"/b/ref=nav_shopall_b2b_shopall_b?ie=UTF8&node=11261610011","dividerBefore":"1"}]}]}}},"KindleFireTabletPanel":{"promoID":"nav-sa-kindle-fire-tablet","template":{"name":"itemList","data":{"text":"Fire Tablets","items":[{"text":"Fire Tablets","items":[{"subtext":"Our best-selling Fire tablet—now even better","text":"All-New Fire 7\n","url":"/dp/B01GEW27DA/ref=nav_shopall_1_k_ods_tab_an"},{"subtext":"Up to 12 hours of battery. Vibrant HD display. Fast performance.","text":"All-New Fire HD 8","url":"/dp/B01J94SWWU/ref=nav_shopall_1_k_ods_tab_ds"},{"subtext":"1080p Full HD. 32 GB storage. Now with Alexa hands-free.","text":"All-New Fire HD 10","url":"/dp/B01J6RPGKG/ref=nav_shopall_1_k_ods_tab_sz"},{"subtext":"If they break it, return it and we’ll replace it. No questions asked.","text":"All-New Fire 7 Kids Edition","url":"/dp/B01J90MSDS/ref=nav_shopall_1_k_ods_tab_afk"},{"subtext":"Up to 12 hours of battery. 2X the storage. 8” HD display.\nOur best kids’ tablet ever.\n","text":"All-New Fire HD 8 Kids Edition","url":"/dp/B01J94SBEY/ref=nav_shopall_1_k_ods_tab_dfk"},{"subtext":"Cases, chargers, sleeves and more","text":"Accessories","url":"/Kindle-Accessories-Electronics/b/ref=nav_shopall_1_ods_tab_acc?ie=UTF8&node=370783011"},{"subtext":"Compare tablets, find deals, and more","text":"See all Fire tablets","url":"/Amazon-Fire-Tablet-Family/b/ref=nav_shopall_1_ods_tab_catp?ie=UTF8&node=6669703011"}]},{"text":"Content & Resources","columnBreak":"1","items":[{"text":"Prime Photos","url":"/STRING-subnav-prime-photos/b/ref=nav_shopall_1_pp_firetv?ie=UTF8&node=13234696011"},{"text":"Amazon Drive","url":"/STRING-subnav_primephotos_amazondrive/b/ref=nav_shopall_1_adrive_firetv?ie=UTF8&node=15547130011"},{"text":"Prime Video","url":"/Instant-Video/s/browse/ref=nav_shopall_1_ods_tab_con_aiv?_encoding=UTF8&node=2858778011"},{"text":"Apps & Games","url":"/Fire-Tablet-Apps/b/ref=nav_shopall_1_ods_tab_con_apps?ie=UTF8&node=3427287011"},{"text":"Digital Music","url":"/MP3-Music-Download/b/ref=nav_shopall_1_ods_tab_con_music?ie=UTF8&node=163856011"},{"text":"Kindle Books","url":"/Kindle-eBooks/b/ref=nav_shopall_1_ods_tab_con_books?ie=UTF8&node=154606011"},{"text":"Kindle Unlimited","url":"/gp/kindle/ku/sign-up/ui/rw/about/ref=nav_shopall_1_ods_tab_con_ku"},{"text":"Amazon FreeTime Unlimited","url":"/dp/B01I499BNA/ref=nav_shopall_1_ods_tab_gno_ftu"},{"text":"Newsstand","url":"/gp/digital/fiona/redirect/newsstand/home/ref=nav_shopall_1_ods_tab_con_news"},{"text":"Manage Your Content and Devices","url":"/gp/digital/fiona/manage/ref=nav_shopall_1_ods_tab_con_myf"}]}]}}},"ClothingShoesJewelryPanel":{"promoID":"nav-sa-clothing-shoes-jewelry","template":{"name":"itemList","data":{"text":"Clothing, Shoes & Jewelry","items":[{"text":"Amazon Fashion","items":[{"text":"Women","url":"/Womens-Fashion/b/ref=nav_shopall_sft_women?ie=UTF8&node=7147440011"},{"text":"Men","url":"/Mens-Fashion/b/ref=nav_shopall_sft_men?ie=UTF8&node=7147441011"},{"text":"Girls","url":"/Girls-Fashion/b/ref=nav_shopall_sft_girls?ie=UTF8&node=7147442011"},{"text":"Boys","url":"/Boys-Fashion/b/ref=nav_shopall_sft_boys?ie=UTF8&node=7147443011"},{"text":"Baby","url":"/Baby-Clothing-Shoes/b/ref=nav_shopall_sft_baby?ie=UTF8&node=7147444011"},{"text":"Luggage","url":"/Luggage-Travel-Gear/b/ref=nav_shopall_sft_luggage?ie=UTF8&node=9479199011"}]},{"text":"More to Explore","dividerBefore":"1","items":[{"subtext":"Exclusively for Amazon Prime customers","text":"Our Brands","url":"/b/ref=nav_shopall_OurBrands?ie=UTF8&node=16334314011"},{"subtext":"Eligible for Amazon Prime shipping benefits","text":"Shopbop.com","url":"/Shopbop-Fashion/b/ref=nav_shopall_shopbop?ie=UTF8&node=8209716011"},{"subtext":"Eligible for Amazon Prime shipping benefits","text":"EastDane.com","url":"/East-Dane-Fashion/b/ref=nav_shopall_eastdane?ie=UTF8&node=8209718011"}]}]}}},"HomeServicesPanel":{"promoID":"nav-sa-home-services","template":{"name":"itemList","data":{"text":"Home Services","dividerBefore":"1","items":[{"subtext":"Available in select cities","text":"Smart Home Services","items":[{"text":"In-Home Smart Home Consultation","url":"/gp/product/B01N3JQ196/ref=nav_shopall_guru_gno"},{"text":"Phone Smart Home Consultation","url":"/gp/product/B073SF78XM/ref=nav_shopall_guru_gno"},{"text":"Smart Lock Installation","url":"/gp/product/B01N2B397N/ref=nav_shopall_guru_gno"},{"text":"Ring Video Doorbell Pro Installation","url":"/gp/product/B01NB1WW3M/ref=nav_shopall_guru_gno"},{"text":"Arlo Cameras Installation","url":"/gp/product/B01N6ZOREJ/ref=nav_shopall_guru_gno"},{"text":"ecobee4 Thermostat Installation","url":"/gp/product/B0716JFMFS/ref=nav_shopall_guru_gno"},{"text":"Lutron Caseta Light Switch Installation","url":"/gp/product/B01N3CNNRL/ref=nav_shopall_guru_gno"},{"text":"All Smart Home Services","url":"/smart/ref=nav_shopall_guru_gno"}]},{"subtext":"Handpicked pros. Happiness Guarantee.","text":"Home Services","columnBreak":"1","items":[{"subtext":"PC set up, iPhone repair, TV installation","text":"Computer & Electronics","url":"/Computers-Electronics-Services/b/ref=nav_shopall_localsvs_ce?ie=UTF8&node=10192836011"},{"subtext":"Furniture assembly, Leaky faucet","text":"Home Improvement & Repair","url":"/In-Home-Services/b/ref=nav_shopall_localsvs_home?ie=UTF8&node=10192825011"},{"text":"Assembly","url":"/Furniture-Assembly-Services/b/ref=nav_shopall_localsvs_assembly?ie=UTF8&node=11525233011","dividerBefore":"1"},{"text":"Cleaning","url":"/Cleaning-Services/b/ref=nav_shopall_localsvs_cleaning?ie=UTF8&node=11525224011"},{"text":"Plumbing","url":"/Plumbing-Services/b/ref=nav_shopall_localsvs_plumbing?ie=UTF8&node=10192830011"},{"text":"Electrical","url":"/Electrical-Wiring-Services/b/ref=nav_shopall_localsvs_electrical?ie=UTF8&node=10192827011"},{"text":"Home Theater","url":"/Home-Theater-Setup-Installation-Services/b/ref=nav_shopall_localsvs_hometheater?ie=UTF8&node=10192838011"},{"subtext":"Available in select cities","text":"All Services","url":"/services/ref=nav_shopall_localsvs_all"}]}]}}},"AndroidPanel":{"promoID":"nav-sa-android","template":{"name":"itemList","data":{"text":"Appstore for Android","items":[{"text":"Appstore for Android","items":[{"subtext":"Shop over 800,000 apps and games","text":"All Apps and Games ","url":"/mobile-apps/b/ref=nav_shopall_adr_app?ie=UTF8&node=2350149011"},{"subtext":"Shop new, bestselling, and free games","text":"Games","url":"/Games/b/ref=nav_shopall_adr_gam?ie=UTF8&node=9209902011"},{"subtext":"Spend Less, Play More","text":"Amazon Coins","url":"/coins/ref=nav_shopall_adr_coins"},{"subtext":"Install on your Android phone","text":"Download Amazon Appstore","url":"/gp/feature.html/ref=nav_shopall_adr_dl?ie=UTF8&docId=1003016361","dividerBefore":"1"},{"subtext":"Kindle, Shopping, MP3, IMDb, and more","text":"Amazon Apps","url":"/gp/feature.html/ref=nav_shopall_adr_amz?ie=UTF8&docId=1000645111"},{"subtext":"View your apps and manage your devices","text":"Your Apps and Devices","url":"/gp/mas/your-account/myapps/ref=nav_shopall_adr_yad"}]}]}}},"wishlistContent":{"template":{"name":"itemList","data":{"items":[{"text":"Create a List","url":"/gp/registry/wishlist/ref=nav_wishlist_nav_wishlist_create?ie=UTF8&triggerElementID=createList"},{"text":"Find a List or Registry","url":"/gp/registry/search/ref=nav_wishlist_nav_wishlist_find"},{"text":"Find a Gift","url":"/gcx/Gifts-for-Adults/gfhz/ref=nav_wishlist_nav_wishlist_gf"},{"subtext":"Install Amazon Assistant","text":"Save Items from the Web","url":"/gp/BIT/ref=nav_wishlist_nav_wishlist_bit_v2_a0032?ie=UTF8&bitCampaignCode=a0032"},{"text":"Wedding Registry","url":"/wedding/home/ref=nav_wishlist_nav_wishlist_wr"},{"text":"Baby Registry","url":"/baby-reg/homepage/ref=nav_wishlist_nav_wishlist_br"},{"text":"Friends & Family Gifting","url":"/gp/gift-central/organizer/ref=nav_wishlist_nav_wishlist_fafgift"},{"text":"Pantry Lists","url":"/gp/pantry/yourlists/ref=nav_wishlist_nav_wishlist_pntry_gno"},{"text":"Your Hearts","url":"/stream/saves/items/ref=nav_wishlist_nav_wishlist_strm_in_youtique_lists"}]}},"wlTriggers":"57042"},"MoviesMusicGamesPanel":{"promoID":"nav-sa-movies-music-games","template":{"name":"itemList","data":{"text":"Movies, Music & Games","items":[{"text":"Movies, Music & Games","items":[{"text":"Movies & TV","url":"/movies-tv-dvd-bluray/b/ref=nav_shopall_mov?ie=UTF8&node=2625373011"},{"text":"Blu-ray","url":"/movies-tv-bluray-bluray3d/b/ref=nav_shopall_blu?ie=UTF8&node=2901953011"},{"text":"Amazon Video","url":"/Amazon-Video/b/ref=nav_shopall_atv?ie=UTF8&node=2858778011"},{"text":"Video Shorts","url":"/Video-Shorts/b/ref=nav_shopall_video_shorts?ie=UTF8&node=9013971011"},{"text":"CDs & Vinyl","url":"/music-rock-classical-pop-jazz/b/ref=nav_shopall_cd_vinyl?ie=UTF8&node=5174","dividerBefore":"1"},{"text":"Digital Music","url":"/MP3-Music-Download/b/ref=nav_shopall_dmusic?ie=UTF8&node=163856011"},{"text":"Streaming Music","url":"/b/ref=nav_shopall_dmusic_streaming_all_t2?ie=UTF8&node=14981443011"},{"text":"Musical Instruments","url":"/musical-instruments-accessories-sound-recording/b/ref=nav_shopall_mi?ie=UTF8&node=11091801"},{"text":"Headphones","url":"/Headphones-Accessories-Supplies/b/ref=nav_shopall_headphones?ie=UTF8&node=172541"},{"text":"Video Games","url":"/computer-video-games-hardware-accessories/b/ref=nav_shopall_cvg?ie=UTF8&node=468642","dividerBefore":"1"},{"text":"PC Gaming","url":"/PC-Gaming/b/ref=nav_shopall_pcgaming41516?ie=UTF8&node=8588809011"},{"text":"Digital Games","url":"/Game-Downloads/b/ref=nav_shopall_gdown?ie=UTF8&node=979455011"},{"text":"Entertainment Collectibles","url":"/Entertainment-Collectibles/b/ref=nav_shopall_entcol?ie=UTF8&node=5088769011","dividerBefore":"1"},{"text":"Trade In Movies, Music & Games","url":"/Trade-In/b/ref=nav_shopall_trade_in_mmg?ie=UTF8&node=2242532011"}]}]}}},"SportsOutdoorsT1Panel":{"promoID":"nav-sa-sports-outdoors-t1","template":{"name":"itemList","data":{"text":"Sports & Outdoors","items":[{"text":"Sports","items":[{"text":"Athletic Clothing","url":"/workout-clothes/b/ref=nav_shopall_sa_sp_athclg?ie=UTF8&node=11444071011"},{"text":"Exercise & Fitness","url":"/Exercise-Equipment-Gym-Equipment/b/ref=nav_shopall_sa_sp_exfit?ie=UTF8&node=3407731"},{"text":"Hunting & Fishing","url":"/Hunting-Fishing-Gear-Equipment/b/ref=nav_shopall_hntfsh?ie=UTF8&node=706813011"},{"text":"Team Sports","url":"/soccer-store-soccer-shop/b/ref=nav_shopall_sa_sp_team?ie=UTF8&node=706809011"},{"text":"Fan Shop","url":"/Fan-Shop-Sports-Outdoors/b/ref=nav_shopall_sa_sp_fan?ie=UTF8&node=3386071"},{"text":"Golf","url":"/Golf/b/ref=nav_shopall_sa_sp_golf?ie=UTF8&node=3410851"},{"text":"Leisure Sports & Game Room","url":"/man-cave/b/ref=nav_shopall_sa_sp_gamerm?ie=UTF8&node=706808011"},{"text":"Sports Collectibles","url":"/Sports-Collectibles/b/ref=nav_shopall_sa_sp_sptcllct?ie=UTF8&node=3250697011"},{"text":"All Sports & Fitness","url":"/Sports-Fitness/b/ref=nav_shopall_sa_sp_allsport?ie=UTF8&node=10971181011"},{"subtext":"Shop Amazon Launchpad","text":"New Gear Innovations","url":"/b/ref=nav_shopall_lpd_gno_sports?ie=UTF8&node=12034909011"}]},{"text":"Outdoors","columnBreak":"1","items":[{"text":"Camping & Hiking","url":"/camping-hiking/b/ref=nav_shopall_sa_out_camphike?ie=UTF8&node=3400371"},{"text":"Cycling","url":"/Cycling-Wheel-Sports-Outdoors/b/ref=nav_shopall_sa_out_cyc?ie=UTF8&node=3403201"},{"text":"Outdoor Clothing","url":"/Outdoor-Recreation-Clothing/b/ref=nav_shopall_sa_out_outcloth?ie=UTF8&node=11443874011"},{"text":"Scooters, Skateboards & Skates","url":"/skateboarding-scooters-skates/b/ref=nav_shopall_sa_out_scooskate?ie=UTF8&node=11051398011"},{"text":"Water Sports","url":"/water-sports/b/ref=nav_shopall_sa_out_water?ie=UTF8&node=11051399011"},{"text":"Winter Sports","url":"/winter-sports/b/ref=nav_shopall_sa_out_wintersport?ie=UTF8&node=2204518011"},{"text":"Climbing","url":"/climbing/b/ref=nav_shopall_sa_out_climb?ie=UTF8&node=3402401"},{"text":"Accessories","url":"/outdoor-accessories/b/ref=nav_shopall_sa_out_accout?ie=UTF8&node=11051400011"},{"text":"All Outdoor Recreation","url":"/outdoor-recreation/b/ref=nav_shopall_sa_out_alloutrec?ie=UTF8&node=706814011"}]}]}}},"KindleAmazonEchoPanel":{"promoID":"nav-sa-kindle-amazon-echo","template":{"name":"itemList","data":{"text":"Echo & Alexa","items":[{"text":"Echo & Alexa","items":[{"subtext":"Always ready, connected, and fast","text":"All-New Echo","url":"/dp/B06XCM9LJ4/ref=nav_shopall_1_k_ods_ha_rr"},{"subtext":"With built-in smart home hub","text":"Introducing Echo Plus","url":"/dp/B075RWFCHB/ref=nav_shopall_1_k_ods_ha_sr"},{"subtext":"Add Alexa to any room","text":"Echo Dot","url":"/dp/B01DFKC2SO/ref=nav_shopall_1_ods_ha_echo_pk"},{"subtext":"Stylish, compact Echo with a screen","text":"Introducing Echo Spot","url":"/dp/B073SQYXTW/ref=nav_shopall_1_ods_ha_echo_rk","dividerBefore":"1"},{"subtext":"Now Alexa can show you things","text":"Echo Show","url":"/dp/B01J24C0TI/ref=nav_shopall_1_ods_ha_echo_kt"},{"subtext":"Love your look. Every day.","text":"Echo Look","url":"/dp/B0186JAEWK/ref=nav_shopall_1_ods_ha_aucc_hx"},{"subtext":"Compare devices, learn about Alexa, and more","text":"See all devices with Alexa","url":"/Amazon-Echo-And-Alexa-Devices/b/ref=nav_shopall_1_ods_ha_echo_cp?ie=UTF8&node=9818047011"}]},{"text":"Alexa Smart Home","columnBreak":"1","items":[{"subtext":"An intelligent security camera featuring 1080p HD, night vision, and two-way audio.","text":"Introducing Amazon Cloud Cam","url":"/dp/B01C4UY0JK/ref=nav_shopall_1_ods_emrg_pe"},{"subtext":"Control smart home devices with Alexa","text":"See all smart home devices","url":"/smart-home/b/ref=nav_shopall_1_ods_ha_echo_ch?ie=UTF8&node=6563140011"}]},{"text":"Content & Resources","dividerBefore":"1","items":[{"subtext":"Discover all the things you can do with Alexa","text":"Meet Alexa","url":"/meet-alexa/b/ref=nav_shopall_1_ods_ha_alexa_ug?ie=UTF8&node=16067214011"},{"subtext":"For Fire OS, Android, iOS, and desktop browsers","text":"Alexa App","url":"/gp/help/customer/display.html/ref=nav_shopall_1_ods_ha_con_help?ie=UTF8&nodeId=201602060"},{"subtext":"Turns your Echo into a voice-controlled speakerphone","text":"Alexa Calling with Echo Connect","url":"/dp/B074TTVQYP/ref=nav_shopall_1_ods_ha_echo_bl"},{"subtext":"Order millions of products and access exclusive deals with Prime","text":"Alexa Voice Shopping","url":"/alexa-voice-shopping/b/ref=nav_shopall_1_VANS_GNO_Flyout?ie=UTF8&node=14552177011"},{"subtext":"Personalize your experience with skills","text":"Alexa Skills","url":"/alexa-skills/b/ref=nav_shopall_1_ods_ha_con_skills_st?ie=UTF8&node=13727921011"},{"subtext":"Stream tens of millions of songs with weekly new releases","text":"Amazon Music Unlimited","url":"/gp/dmusic/promotions/AmazonMusicUnlimited/ref=nav_shopall_1_ods_ha_con_music"},{"subtext":"Your entire Audible library available on Echo","text":"Audible Audiobooks","url":"/Audible-Audiobooks/b/ref=nav_shopall_1_ods_ha_con_aud?ie=UTF8&node=2402172011"}]}]}}},"CreditPanel":{"promoID":"nav-sa-credit","template":{"name":"itemList","data":{"text":"Credit & Payment Products","items":[{"text":"Credit Cards","items":[{"subtext":"Special financing on eligible orders","text":"Amazon.com Store Card","url":"/iss/credit/storecardmember/ref=nav_shopall_credit_plcc?_encoding=UTF8&plattr=PLCCGNO"},{"subtext":"Get rewarded for every purchase","text":"Amazon Rewards Visa Signature Cards","url":"/iss/credit/rewardscardmember/ref=nav_shopall_credit_cbcc?_encoding=UTF8&plattr=CBCCGNO"},{"subtext":"Pay-in-full and revolving credit lines","text":"Amazon.com Corporate Credit Line","url":"/gp/cobrandcard/marketing.html/ref=nav_shopall_credit_ccl?ie=UTF8&plattr=GNO_CCL&pr=ibprox"},{"subtext":"Find a credit card that’s right for you","text":"Credit Card Marketplace","url":"/compare-credit-card-offers/b/ref=nav_shopall_credit_ccmp?ie=UTF8&node=3561432011"}]},{"text":"Payment Products","dividerBefore":"1","items":[{"subtext":"Use your rewards points for purchases","text":"Shop with Points at Amazon","url":"/b/ref=nav_shopall_credit_swp?ie=UTF8&node=16218619011"},{"subtext":"Add cash to your Amazon Balance","text":"Amazon Cash","url":"/b/ref=nav_shopall_amzcash?ie=UTF8&node=14583169011"},{"subtext":"Pay in your local currency","text":"Amazon Currency Converter","url":"/Currency-Converter/b/ref=nav_shopall_credit_tfx?ie=UTF8&node=388305011"},{"subtext":"An easy way to fund shopping on Amazon","text":"Amazon Allowance","url":"/Amazon-Allowance-Gift-Cards/b/ref=nav_shopall_gno_allowance?ie=UTF8&node=11453461011"},{"subtext":"Add funds directly with a credit or debit card","text":"Reload Your Amazon Balance","url":"/Reload-Your-Gift-Card-Balance/b/ref=nav_shopall_gno_balance?ie=UTF8&node=10232440011"}]}]}}},"HomeGardenToolsPanel":{"promoID":"nav-sa-home-garden-tools","template":{"name":"itemList","data":{"text":"Home, Garden & Tools","items":[{"text":"Home, Garden & Pets","items":[{"text":"Home","url":"/home-garden-kitchen-furniture-bedding/b/ref=nav_shopall_home_storefront?ie=UTF8&node=1055398"},{"text":"Kitchen & Dining","url":"/kitchen-dining/b/ref=nav_shopall_ki?ie=UTF8&node=284507"},{"text":"Furniture","url":"/Furniture/b/ref=nav_shopall_furn?ie=UTF8&node=1063306"},{"text":"Bedding & Bath","url":"/bedding-bath-sheets-towels/b/ref=nav_shopall_bb?ie=UTF8&node=1057792"},{"text":"Appliances","url":"/Appliances/b/ref=nav_shopall_ha?ie=UTF8&node=2619525011"},{"text":"Patio, Lawn & Garden","url":"/Patio-Lawn-Garden/b/ref=nav_shopall_lp?ie=UTF8&node=2972638011"},{"text":"Fine Art","url":"/Art/b/ref=nav_shopall_fine_art?ie=UTF8&node=6685269011"},{"text":"Arts, Crafts & Sewing","url":"/Arts-Crafts-Sewing/b/ref=nav_shopall_sch?ie=UTF8&node=2617941011"},{"text":"Pet Supplies","url":"/pet-shops-dogs-cats-hamsters-kittens/b/ref=nav_shopall_ps?ie=UTF8&node=2619533011"},{"text":"Wedding Registry","url":"/gp/wedding/homepage/ref=nav_shopall_weddingregistry","dividerBefore":"1"},{"text":"Amazon Prints","url":"/STRING-subnav-prime-photos/b/ref=nav_shopall_gnoaprt?ie=UTF8&node=14866317011"},{"text":"Event & Party Supplies","url":"/Event-Party-Supplies/b/ref=nav_shopall_ep?ie=UTF8&node=901590"},{"text":"Pinzon by Amazon","url":"/b/ref=nav_shopall_pinzon?ie=UTF8&node=10112676011"}]},{"text":"Tools, Home Improvement","columnBreak":"1","items":[{"text":"Home Improvement","url":"/Tools-and-Home-Improvement/b/ref=nav_shopall_hi2?ie=UTF8&node=228013"},{"text":"Power & Hand Tools","url":"/Power-Tools-and-Hand-Tools/b/ref=nav_shopall_hi?ie=UTF8&node=328182011"},{"text":"Lamps & Light Fixtures","url":"/Lighting-and-Ceiling-Fans/b/ref=nav_shopall_llf?ie=UTF8&node=495224"},{"text":"Kitchen & Bath Fixtures","url":"/Kitchen-and-Bath-Fixtures/b/ref=nav_shopall_kbf?ie=UTF8&node=3754161"},{"text":"Hardware","url":"/Hardware-Locks-and-Fasteners/b/ref=nav_shopall_hdw?ie=UTF8&node=511228"},{"text":"Smart Home","url":"/smart-home/b/ref=nav_shopall_homaut?ie=UTF8&node=6563140011"},{"subtext":"New products from startups","text":"Amazon Launchpad","url":"/Amazon-Launchpad/b/ref=nav_shopall_lpd_gno_home?ie=UTF8&node=12034488011","dividerBefore":"1"}]}]}}},"HandmadePanel":{"promoID":"nav-sa-handmade","template":{"name":"itemList","data":{"text":"Handmade","items":[{"text":"Handmade","items":[{"text":"All Handmade","url":"/Handmade/b/ref=nav_shopall_HM_Home?ie=UTF8&node=11260432011"},{"text":"Gifts","url":"/b/ref=nav_shopall_HM_gifts?ie=UTF8&node=17296384011"},{"text":"Jewelry","url":"/Handmade-Jewelry/b/ref=nav_shopall_HM_Jewelry?ie=UTF8&node=11403480011"},{"text":"Home & Kitchen","url":"/Handmade-Home-Kitchen-Products/b/ref=nav_shopall_HM_kitchen?ie=UTF8&node=11403478011"},{"text":"Wedding","url":"/b/ref=nav_shopall_HM_wedding?ie=UTF8&node=16283289011"},{"text":"Handbags & Accessories","url":"/Handmade-Handbags-Fashion-Accessories/b/ref=nav_shopall_HM_accessories?ie=UTF8&node=11403468011"},{"text":"Beauty & Grooming","url":"/b/ref=nav_shopall_HM_beauty?ie=UTF8&node=11403472011"},{"text":" Stationery & Party Supplies","url":"/Handmade-Stationery-Party-Supplies/b/ref=nav_shopall_HM_stationery?ie=UTF8&node=11435470011"},{"text":"Toys & Games","url":"/Handmade-Toys-Games/b/ref=nav_shopall_HM_petsupplies?ie=UTF8&node=11403495011"},{"text":"Pet Supplies","url":"/b/ref=nav_shopall_HM_petsupplies?ie=UTF8&node=11403488011"},{"text":"Made in Italy","url":"/Made-in-Italy-Handmade-Products/b/ref=nav_shopall_HM_mii?ie=UTF8&node=13283810011"}]}]}}},"yourAccountContent":{"template":{"name":"itemList","data":{"items":[{"text":"Your Account","url":"/gp/css/homepage.html/ref=nav_youraccount_nav_youraccount_ya"},{"text":"Your Orders","url":"/gp/css/order-history/ref=nav_youraccount_nav_youraccount_orders","id":"nav_prefetch_yourorders"},{"text":"Your Lists","url":"/gp/registry/wishlist/ref=nav_youraccount_nav_youraccount_wl?ie=UTF8&requiresSignIn=1"},{"text":"Your Recommendations","url":"/gp/yourstore/ref=nav_youraccount_nav_youraccount_recs"},{"text":"Your Subscribe & Save Items","url":"/gp/subscribe-and-save/manager/viewsubscriptions/ref=nav_youraccount_nav_youraccount_sns"},{"text":"Memberships & Subscriptions","url":"/yourmembershipsandsubscriptions/ref=nav_youraccount_digital_subscriptions"},{"text":"Your Service Requests","url":"/localservices/ya/servicerequests/ref=nav_youraccount_nav_youraccount_desktop_vas_requestlist"},{"text":"Your Prime Membership","url":"/gp/subs/primeclub/account/homepage.html/ref=nav_youraccount_nav_youraccount_prime"},{"text":"Your Garage","url":"/gp/your-garage/ref=nav_youraccount_nav_youraccount_au_pf_as_GNO"},{"text":"Register for a Business Account","url":"/b/ref=nav_youraccount_nav_youraccount_b2b_reg?ie=UTF8&node=11261610011"},{"text":"Your Amazon Credit Cards","url":"/Credit-Cards/b/ref=nav_youraccount_nav_youraccount_cc?ie=UTF8&node=1266766011"},{"text":"Your Content and Devices","url":"/mn/dcw/myx.html/ref=nav_youraccount_nav_youraccount_myk"},{"text":"Your Music Library","url":"/gp/dmusic/mp3/player/ref=nav_youraccount_nav_youraccount_cldplyr"},{"text":"Your Prime Photos","url":"/photos/ref=nav_youraccount_nav_youraccount_primephotos"},{"text":"Your Amazon Drive","url":"/clouddrive/ref=nav_youraccount_nav_youraccount_clddrv"},{"text":"Your Prime Video","url":"/Prime-Instant-Video/s/browse/ref=nav_youraccount_nav_youraccount_piv?_encoding=UTF8&node=2676882011"},{"text":"Your Kindle Unlimited","url":"/gp/kindle/ku/ku_central/ref=nav_youraccount_nav_youraccount_ku"},{"text":"Your Watchlist","url":"/gp/video/watchlist/ref=nav_youraccount_nav_youraccount_ywl"},{"text":"Your Video Library","url":"/gp/video/library/ref=nav_youraccount_nav_youraccount_yvl"},{"text":"Your Android Apps & Devices","url":"/gp/mas/your-account/myapps/ref=nav_youraccount_nav_youraccount_aad"}]}},"signInHtml":"<div id='nav-flyout-ya-signin' class='nav-flyout-content'><a href='/gp/navigation/redirector.html/ref=sign-in-redirect?ie=UTF8&amp;associationHandle=usflex&amp;currentPageURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_signin&amp;pageType=&amp;switchAccount=&amp;yshURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_signin' rel='nofollow' class='nav-action-button' data-nav-role='signin' data-nav-ref='nav_signin'><span class='nav-action-inner'>Sign in</span></a><div id='nav-flyout-ya-newCust' class='nav_pop_new_cust nav-flyout-content'>New customer? <a href='https://www.amazon.com/ap/register?_encoding=UTF8&amp;openid.assoc_handle=usflex&amp;openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.mode=checkid_setup&amp;openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&amp;openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&amp;openid.pape.max_auth_age=0&amp;openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_newcust' rel='nofollow' class='nav-a'>Start here.</a></div></div>","wlTriggers":"98075:104259"},"BooksPanel":{"promoID":"nav-sa-books","template":{"name":"itemList","data":{"text":"Books & Audible","dividerBefore":"1","items":[{"text":"Books","items":[{"text":"Books","url":"/books-used-books-textbooks/b/ref=nav_shopall_bo_t3?ie=UTF8&node=283155"},{"text":"Children's Books","url":"/Childrens-Books/b/ref=nav_shopall_cbo_t3?ie=UTF8&node=4"},{"subtext":"Rare and collectible books","text":"AbeBooks.com","url":"/Rare-Collectible-Books-Books/b/ref=nav_shopall_abebooks_t3?ie=UTF8&node=2056775011"},{"text":"Magazines","url":"/magazines/b/ref=nav_shopall_magazines_t3?ie=UTF8&node=599858"},{"text":"Textbooks","url":"/New-Used-Textbooks-Books/b/ref=nav_shopall_tb_t3?ie=UTF8&node=465600","dividerBefore":"1"},{"text":"Textbook Rentals","url":"/Rent-Textbooks/b/ref=nav_shopall_rentals_t3?ie=UTF8&node=5657188011"},{"text":"Sell Us Your Books","url":"/Sell-Books/b/ref=nav_shopall_us_ti_tb_0513_t3?ie=UTF8&node=2205237011"},{"text":"Prime Student","url":"/Amazon-Student/b/ref=nav_shopall_student_t3?ie=UTF8&node=668781011"}]},{"text":"Kindle Books","dividerBefore":"1","items":[{"text":"Kindle Books","url":"/Kindle-eBooks/b/ref=nav_shopall_k_kbo_t3?ie=UTF8&node=1286228011"},{"text":"Kindle Unlimited","url":"/gp/kindle/ku/sign-up/ui/rw/about/ref=nav_shopall_ods_books_con_ku_t3"},{"text":"Prime Reading","url":"/kindle-dbs/fd/prime-pr/ref=nav_shopall_ods_eink_con_pr_t3"},{"subtext":"Switch between reading and listening","text":"Whispersync for Voice","url":"/b/ref=nav_shopall_aud_wfv_t3?ie=UTF8&node=5744819011"}]},{"text":"Audible Audiobooks","dividerBefore":"1","items":[{"subtext":"Try Audible & get 2 free audiobooks","text":"Audible Membership","url":"/dp/B00NB86OYE/ref=nav_shopall_aud_mem_t3"},{"text":"Audible Audiobooks","url":"/Audible-Audiobooks/b/ref=nav_shopall_aud_bks_t3?ie=UTF8&node=2402172011"}]}]}}},"cartContent":{"html":"<div id='nav-cart-flyout' class='nav-empty nav-flyout-content' data-one='{count} item' data-many='{count} items'><div class='nav-dynamic-full'><div id='nav-cart-standard' class='nav-cart-content'><a href='/gp/cart/view.html/ref=nav_flyout_viewcart?ie=UTF8&amp;hasWorkingJavascript=1' class='nav-cart-title'>Items in your Cart</a><div class='nav-cart-subtitle'></div><div class='nav-cart-items'></div></div><div id='nav-cart-pantry' class='nav-cart-content' data-box='{count} box' data-boxes='{count} boxes' data-box-filled='{pct}% filled' data-boxes-filled='{pct}% filled in current box'><a href='/gp/cart/view.html/ref=nav_flyout_viewcart?ie=UTF8&amp;hasWorkingJavascript=1' class='nav-cart-title'>Prime Pantry Items</a><div class='nav-cart-subtitle'></div><div class='nav-cart-items'></div></div><div id='nav-cart-fresh' class='nav-cart-content'><a href='/gp/cart/view.html/ref=nav_flyout_viewcart?ie=UTF8&amp;hasWorkingJavascript=1' class='nav-cart-title'><img id='nav-cart-fresh-logo' src='https://images-na.ssl-images-amazon.com/images/G/01/gno/ec-logo-fresh-color._CB305770688_.png'></a><div class='nav-cart-subtitle'></div><div class='nav-cart-items'></div></div></div><div class='nav-ajax-message'></div><div class='nav-dynamic-empty'><p class='nav_p nav-bold nav-cart-empty'> Your Shopping Cart is empty.</p><p class='nav_p '> Give it purpose&mdash;fill it with books, DVDs, clothes, electronics, and more.</p><p class='nav_p '> If you already have an account, <a href='/gp/navigation/redirector.html/ref=sign-in-redirect?ie=UTF8&associationHandle=usflex&currentPageURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_signin_cart&pageType=&switchAccount=&yshURL=https%3A%2F%2Fwww.amazon.com%2Fgp%2Fyourstore%2Fhome%3Fie%3DUTF8%26ref_%3Dnav_signin_cart' class='nav_a'>sign in</a>.</p></div><div class='nav-ajax-error-msg'><p class='nav_p nav-bold'> There's a problem previewing your cart right now.</p><p class='nav_p '> Check your Internet connection and <a href='/gp/cart/view.html/ref=nav_flyout_viewcart?ie=UTF8&hasWorkingJavascript=1' class='nav_a'>go to your cart</a>, or <a href='javascript:void(0);' class='nav_a nav-try-again'>try again</a>.</p></div><div id='nav-cart-footer'><a href='/gp/cart/view.html/ref=nav_flyout_viewcart?ie=UTF8&amp;hasWorkingJavascript=1' id='nav-cart-menu-button' class='nav-action-button'><span class='nav-action-inner'>View Cart<span id='nav-cart-menu-button-count' ><span id='nav-cart-zero'>(<span class='nav-cart-count'>0</span> items)</span><span id='nav-cart-one' style='display: none;'>(<span class='nav-cart-count'>0</span> item)</span><span id='nav-cart-many' style='display: none;'>(<span class='nav-cart-count'>0</span> items)</span></span></span></a></div></div>"},"BeautyHealthPanel":{"promoID":"nav-sa-beauty-health","template":{"name":"itemList","data":{"text":"Beauty & Health","items":[{"text":"Beauty & Health","items":[{"text":"All Beauty","url":"/Beauty-Makeup-Skin-Hair-Products/b/ref=nav_shopall_bty?ie=UTF8&node=3760911"},{"text":"Luxury Beauty","url":"/Luxury-Makeup-Skin-Hair-Beauty-Products/b/ref=nav_shopall_luxury_bty?ie=UTF8&node=7175545011"},{"text":"Professional Skin Care","url":"/b/ref=nav_shopall_pro_skin?ie=UTF8&node=14717647011"},{"text":"Salon & Spa","url":"/b/ref=nav_shopall_salon_spa?ie=UTF8&node=14760453011"},{"text":"Men’s Grooming","url":"/Mens-Grooming-Products/b/ref=nav_shopall_men_grooming?ie=UTF8&node=6682399011"},{"text":"Health, Household & Baby Care","url":"/health-personal-care-nutrition-fitness/b/ref=nav_shopall_health_household_baby?ie=UTF8&node=3760901"},{"text":"Vitamins & Dietary Supplements","url":"/Vitamins-and-Dietary-Supplements/b/ref=nav_shopall_vds?ie=UTF8&node=3764441"}]},{"text":"Deals & Prime Exclusives","dividerBefore":"1","items":[{"subtext":"Up to 15% off, free shipping, and more","text":"Subscribe & Save","url":"/Subscribe-Save/b/ref=nav_shopall_HB_subscribe_save?ie=UTF8&node=5856181011"},{"subtext":"Everyday essentials in everyday sizes","text":"Prime Pantry","url":"/Prime-Pantry/b/ref=nav_shopall_HB_prime_pantry?ie=UTF8&node=7301146011"},{"text":"Sample Boxes","url":"/sample-boxes/ref=nav_shopall_HB_sampling"},{"text":"Coupons","url":"/Coupons/b/ref=nav_shopall_HB_coupons?ie=UTF8&node=2231352011"},{"text":"Amazon Elements","url":"/Amazon-Elements/b/ref=nav_shopall_HB_elements?ie=UTF8&node=8514636011","dividerBefore":"1"}]}]}}},"InstantVideoPanel":{"promoID":"nav-sa-instant-video","template":{"name":"itemList","data":{"text":"Amazon Video","items":[{"text":"Amazon Video","items":[{"subtext":"All TV shows, movies, and more","text":"All Videos","url":"/Amazon-Video/s/browse/ref=nav_shopall_aiv?_encoding=UTF8&node=2858778011"},{"subtext":"Amazon Originals, exclusives, and more","text":"Included with Prime","url":"/Prime-Video/s/browse/ref=nav_shopall_aiv_piv?_encoding=UTF8&node=2676882011"},{"subtext":"HBO, SHOWTIME, STARZ, and more","text":"Amazon Channels","url":"/s/browse/ref=nav_shopall_nav_sa_aos?_encoding=UTF8&filterId=OFFER_FILTER%3DSUBSCRIPTIONS&node=2858778011"},{"subtext":"New releases, latest seasons, and more","text":"Rent or Buy","url":"/rent-or-buy-amazon-video/b/ref=nav_shopall_aiv_shop?ie=UTF8&node=7589478011"},{"text":"Your Watchlist","url":"/gp/video/watchlist/ref=nav_shopall_aiv_wlst","dividerBefore":"1"},{"text":"Your Video Library","url":"/gp/video/library/ref=nav_shopall_aiv_yvl"},{"text":"Watch Anywhere","url":"/b/ref=nav_shopall_aiv_wtv?ie=UTF8&node=16775794011"},{"text":"Getting Started","url":"/gp/video/getstarted/ref=nav_shopall_aiv_gs"}]},{"text":"More to Explore","columnBreak":"1","items":[{"subtext":"Amazon Original Series and Movies","text":"Originals","url":"/s/browse/ref=nav_shopall_nav_sa_org?_encoding=UTF8&merchId=originals1&node=2858778011"}]}]}}},"DigitalMusicPanel":{"promoID":"nav-sa-digital-music","template":{"name":"itemList","data":{"text":"Amazon Music","items":[{"text":"Stream Music","items":[{"subtext":"Stream tens of millions of songs with weekly new releases\n","text":"Amazon Music Unlimited","url":"/gp/dmusic/promotions/AmazonMusicUnlimited/ref=nav_shopall_dm_hf"},{"subtext":"Prime members can stream a growing selection of 2 million songs - all ad-free","text":"Prime Music","url":"/gp/dmusic/promotions/PrimeMusic/ref=nav_shopall_dm_pm"},{"subtext":"music.amazon.com","text":"Open Web Player","url":"/gp/dmusic/mp3/player/ref=nav_shopall_dm_webplayer","dividerBefore":"1","extra":"target=\"_blank\""}]},{"text":"Buy Music","dividerBefore":"1","items":[{"subtext":"Purchase millions of albums and vinyl records","text":"CDs & Vinyl","url":"/music-rock-classical-pop-jazz/b/ref=nav_shopall_dm_cds_vinyl?ie=UTF8&node=5174"},{"subtext":"Buy albums and songs","text":"Download Store","url":"/MP3-Music-Download/b/ref=nav_shopall_dm_store_hf?ie=UTF8&node=163856011"}]}]}}},"ToysKidsBabyPanel":{"promoID":"nav-sa-toys-kids-baby","template":{"name":"itemList","data":{"text":"Toys, Kids & Baby","items":[{"text":"Toys, Kids & Baby","items":[{"text":"Toys & Games","url":"/toys/b/ref=nav_shopall_tg?ie=UTF8&node=165793011"},{"text":"Baby","url":"/baby-car-seats-strollers-bedding/b/ref=nav_shopall_ba?ie=UTF8&node=165796011"},{"text":"Video Games for Kids","url":"/Kids-Family/b/ref=nav_shopall_cvg?ie=UTF8&node=471306"},{"subtext":"Prime members save up to 20% on diapers\nand baby food","text":"Amazon Family","url":"/gp/family/signup/ref=nav_shopall_family"},{"text":"Baby Registry","url":"/baby-reg/homepage/ref=nav_shopall_babyreg"},{"text":"Kids Birthdays","url":"/Kids-Birthday-Toys-Games/b/ref=nav_shopall_kidsbirthdaynew?ie=UTF8&node=12693418011"},{"subtext":"Not a toy, a full-featured Fire tablet","text":"All-New Fire Kids Edition tablets","url":"/dp/B01J90MSDS/ref=nav_shopall_ods_ket_gno_toys","dividerBefore":"1"},{"subtext":"Shop innovative new toys","text":"Amazon Launchpad","url":"/b/ref=nav_shopall_lpd_gno_toys?ie=UTF8&node=12034506011","dividerBefore":"1"},{"subtext":"Premium products. Transparent origins. Exclusive to Prime. ","text":"Amazon Elements","url":"/Amazon-Elements/b/ref=nav_shopall_elements_baby?ie=UTF8&node=8514636011","dividerBefore":"1"}]},{"text":"Clothing & Shoes","dividerBefore":"1","items":[{"text":"For Girls","url":"/Girls-Fashion/b/ref=nav_shopall_toys_girls?ie=UTF8&node=7147442011"},{"text":"For Boys","url":"/Boys-Fashion/b/ref=nav_shopall_toys_boys?ie=UTF8&node=7147443011"},{"text":"For Baby","url":"/Baby-Clothing-Shoes/b/ref=nav_shopall_toys_baby?ie=UTF8&node=7147444011"}]}]}}},"templates":{"asin-promo":"<a href='<#=destination #>' class='nav_asin_promo'>  <img src='<#=image #>' class='nav_asin_promo_img'/>  <span class='nav_asin_promo_headline'><#=headline #></span>  <span class='nav_asin_promo_info'>    <span class='nav_asin_promo_title'><#=productTitle #></span>    <span class='nav_asin_promo_title2'><#=productTitle2 #></span>    <span class='nav_asin_promo_price'><#=price #></span>  </span>  <span class='nav_asin_promo_button nav-sprite'><#=button #></span></a>","discoveryPanelList":"<# var renderItems = function(items) { #>    <span class='nav-dp-title nav-item'>    Deliveries at a glance    <div class='nav-divider-container'><div class='nav-divider'></div></div></span>    <# jQuery.each(items, function (i, item) { #>        <span class='nav-item'>            <a href='<#=item.order_link#>' class='nav-dp-link'>                <span class='nav-dp-left-column'>                    <img src='<#=item.image#>' class='nav-dp-image'/>                </span>                <span class='nav-dp-right-column'>                    <span class='nav-dp-text <#=item.status#>'>                        <#=item.status_text#>                        <br/>                    </span>                    <# if(item.secondary_status_text) { #>                        <span class='nav-dp-text-secondary <#=item.status#>'>                            <#=item.secondary_status_text#>                        </span>                    <# } #>                </span>            </a>            <div class='nav-divider-container'><div class='nav-divider'></div></div>        </span>  <# }); #>  <a href='/your-orders/ref=nav_dp_ayo' class='nav-dp-link-emphasis'>      View all orders  </a><# }; #><# renderItems(items); #>","itemList":"<# var hasColumns = (function () {  var checkColumns = function (_items) {    if (!_items) {      return false;    }    for (var i=0; i<_items.length; i++) {      if (_items[i].columnBreak || (_items[i].items && checkColumns(_items[i].items))) {        return true;      }    }    return false;  };  return checkColumns(items);}()); #><# if(hasColumns) { #>  <# if(items[0].image && items[0].image.src) { #>    <div class='nav-column nav-column-first nav-column-image'>  <# } else if (items[0].greeting) { #>    <div class='nav-column nav-column-first nav-column-greeting'>  <# } else { #>    <div class='nav-column nav-column-first'>  <# } #><# } #><# var renderItems = function(items) { #>  <# jQuery.each(items, function (i, item) { #>    <# if(hasColumns && item.columnBreak) { #>      <# if(item.image && item.image.src) { #>        </div><div class='nav-column nav-column-notfirst nav-column-break nav-column-image'>      <# } else if (item.greeting) { #>        </div><div class='nav-column nav-column-notfirst nav-column-break nav-column-greeting'>      <# } else { #>        </div><div class='nav-column nav-column-notfirst nav-column-break'>      <# } #>    <# } #>    <# if(item.dividerBefore) { #>      <div class='nav-divider'></div>    <# } #>    <# if(item.text || item.content) { #>      <# if(item.url) { #>        <a href='<#=item.url #>' class='nav-link      <# } else {#>        <span class='      <# } #>      <# if(item.panelKey) { #>        nav-hasPanel      <# } #>      <# if(item.items) { #>        nav-title      <# } #>      <# if(item.decorate == 'carat') { #>        nav-carat      <# } #>      <# if(item.decorate == 'nav-action-button') { #>        nav-action-button      <# } #>      nav-item'      <# if(item.extra) { #>        <#=item.extra #>      <# } #>      <# if(item.id) { #>        id='<#=item.id #>'      <# } #>      <# if(item.dataNavRole) { #>        data-nav-role='<#=item.dataNavRole #>'      <# } #>      <# if(item.dataNavRef) { #>        data-nav-ref='<#=item.dataNavRef #>'      <# } #>      <# if(item.panelKey) { #>        data-nav-panelkey='<#=item.panelKey #>'        role='navigation'        aria-label='<#=item.text#>'      <# } #>      <# if(item.subtextKey) { #>        data-nav-subtextkey='<#=item.subtextKey #>'      <# } #>      <# if(item.image && item.image.height > 16) { #>        style='line-height:<#=item.image.height #>px;'      <# } #>      >      <# if(item.decorate == 'carat') { #>        <i class='nav-icon'></i>      <# } #>      <# if(item.image && item.image.src) { #>        <img class='nav-image' src='<#=item.image.src #>' style='height:<#=item.image.height #>px; width:<#=item.image.width #>px;' />      <# } #>      <# if(item.text) { #>        <span class='nav-text<# if(item.classname) { #> <#=item.classname #><# } #>'><#=item.text#><# if(item.badgeText) { #>          <span class='nav-badge'><#=item.badgeText#></span>        <# } #></span>      <# } else if (item.content) { #>        <span class='nav-content'><# jQuery.each(item.content, function (j, cItem) { #><# if(cItem.url && cItem.text) { #><a href='<#=cItem.url #>' class='nav-a'><#=cItem.text #></a><# } else if (cItem.text) { #><#=cItem.text#><# } #><# }); #></span>      <# } #>      <# if(item.subtext) { #>        <span class='nav-subtext'><#=item.subtext #></span>      <# } #>      <# if(item.url) { #>        </a>      <# } else {#>        </span>      <# } #>    <# } #>    <# if(item.image && item.image.src) { #>      <# if(item.url) { #>        <a href='<#=item.url #>'>       <# } #>      <img class='nav-image'      <# if(item.id) { #>        id='<#=item.id #>'      <# } #>      src='<#=item.image.src #>' <# if (item.alt) { #> alt='<#= item.alt #>'<# } #>/>      <# if(item.url) { #>        </a>       <# } #>    <# } #>    <# if(item.items) { #>      <div class='nav-panel'> <# renderItems(item.items); #> </div>    <# } #>  <# }); #><# }; #><# renderItems(items); #><# if(hasColumns) { #>  </div><# } #>","notificationsList":"<div class='nav-item nav-title'>  Notifications</div><# jQuery.each(items || [], function (i, item) { #>  <div class='nav-item<# if (item.type) { #> nav-noti-list-<#= item.type #><# } #><# if (item.image && item.image.src) { #> nav-noti-list-with-image<# } #>'>    <# if (item.dismissId) { #>      <div class='nav-noti-list-x' data-noti-id='<#= item.dismissId #>'>&times;</div>    <# } #>    <# if (item.image && item.image.src) { #>      <div class='nav-noti-list-image'>        <img class='nav-noti-list-image-tag' src='<#= item.image.src #>' <# if (item.image.alt) { #> alt='<#= item.image.alt #>'<# } #> <# if (item.image.title) { #> title='<#= item.image.title #>'<# } #>/>      </div>    <# } #>    <# if (item.heading) { #>      <div class='nav-noti-list-heading'><#= item.heading #></div>    <# } #>    <# jQuery.each(item.content || [], function (j, itemContent) { #>      <# if (itemContent.url) { #>        <a href='<#= itemContent.url #>' class='nav-noti-list-content'>      <# } else { #>        <div class='nav-noti-list-content'>      <# } #>        <# if (itemContent.text) { #>          <span class='nav-noti-list-text'><#= itemContent.text #></span>        <# } #>        <# if (itemContent.subtext) { #>          <span class='nav-noti-list-subtext'><#= itemContent.subtext #></span>        <# } #>      <# if (itemContent.url) { #>        </a>      <# } else { #>        </div>      <# } #>    <# }); #>  </div><# }); #>","discoveryPanelSummary":"    <span class='nav-dp-title nav-item'>    Deliveries at a glance    <div class='nav-divider-container'><div class='nav-divider'></div></div></span>    <# jQuery.each(items || [], function (i, item) { #>        <span class='nav-item'>            <span class='nav-dp-left-column'>                <img src='<#=item.image.url#>' class='nav-dp-image' height='<#=item.image.height#>'/>            </span>            <span class='nav-dp-right-column'>                <#=item.status_text#>                <div class='nav-dp-secondary-row'>                    <a href='/your-orders/ref=nav_dp_ryo' class='nav-dp-link-emphasis'>                        Sign in to view orders                    </a>                </div>            </span>        </span>    <# }); #>","htmlList":"  <# jQuery.each(items, function (i, item) { #>    <div class='nav-item'>      <#=item #>    </div>  <# }); #>","subnav":"<# if (obj && obj.type === 'vertical') { #>  <# jQuery.each(obj.rows, function (i, row) { #>    <# if (row.flyoutElement === 'button') { #>      <div class='nav_sv_fo_v_button'        <# if (row.elementStyle) { #>          style='<#= row.elementStyle #>'        <# } #>      >        <a href='<#=row.url #>' class='nav-action-button nav-sprite'>          <#=row.text #>        </a>      </div>    <# } else if (row.flyoutElement === 'list' && row.list) { #>      <# jQuery.each(row.list, function (j, list) { #>        <div class='nav_sv_fo_v_column <#=(j === 0) ? 'nav_sv_fo_v_first' : '' #>'>          <ul class='<#=list.elementClass #>'>          <# jQuery.each(list.linkList, function (k, link) { #>            <# if (k === 0) { link.elementClass += ' nav_sv_fo_v_first'; } #>            <li class='<#=link.elementClass #>'>              <# if (link.url) { #>                <a href='<#=link.url #>' class='nav_a'><#=link.text #></a>              <# } else { #>                <span class='nav_sv_fo_v_span'><#=link.text #></span>              <# } #>            </li>          <# }); #>          </ul>        </div>      <# }); #>    <# } else if (row.flyoutElement === 'link') { #>      <# if (row.topSpacer) { #>        <div class='nav_sv_fo_v_clear'></div>      <# } #>      <div class='<#=row.elementClass #>'>        <a href='<#=row.url #>' class='nav_sv_fo_v_lmargin nav_a'>          <#=row.text #>        </a>      </div>    <# } #>  <# }); #><# } else if (obj) { #>  <div class='nav_sv_fo_scheduled'>    <#= obj #>  </div><# } #>","wishlist":"<# jQuery.each(wishlist, function (i, item) { #>  <li class='nav_pop_li'>    <a href='<#=item.url #>' class='nav_a'>      <#=item.name #>    </a>    <div class='nav_tag'>      <!-- TODO this logic should now be in dynamic-wish-list.mi -->      <# if(typeof item.count !='undefined') { #>        <#=          (item.count == 1 ? '{count} item' : '{count} items')            .replace('{count}', item.count)        #>      <# } #>    </div>  </li><# }); #>","cart":"<# jQuery.each(items, function (i, item) { #>  <div class='nav-cart-item'>    <a href='<#=item.url #>' class='nav-cart-item-link'>      <img src='<#=item.img #>' class='nav-cart-item-image' />      <span class='nav-cart-item-title'><#=item.name #></span>      <# if (item.weight) { #>        <span class='nav-cart-item-weight' style='display:none;'>          <#= 'Ship weight: {value} {unit}'.replace('{value}', item.weight.value).replace('{unit}', item.weight.unit) #>        </span>      <# } #>      <# if (item.ourPrice) { #>        <span class='nav-cart-item-buyingPrice'><#=item.ourPrice #></span>      <# } #>      <# if (item.scarcityMessage) { #>        <span class='<#=item.scarcityClass #>'><#=item.scarcityMessage #></span>      <# } #>      <span class='nav-cart-item-quantity'>        <#= 'Quantity: {count}'.replace('{count}', item.qty) #>      </span>    </a>  </div>  <# if (i%2==1) { #>    <div class='nav-cart-item-break'></div>  <# } #><# }); #><div class='nav-cart-item-break'></div>"}}); });
</script>

  • 所以,我们发现参数就藏在网页源代码中的某个script标签中,某个项的node值……

3.3. 从源代码的script标签中提取数据

getScriptRes = response.xpath("//script/text()").extract()
if len(getScriptRes) > 0:# print(f"text = {response.text}")# print(f"getScriptRes = {getScriptRes}")searchClassDict = {}for scriptElem in getScriptRes:if scriptElem.find("shopAllContent") != -1:contentLst = re.findall('"text":"([a-zA-Z,&\s]+)","url":"[a-zA-Z\/\-=_]+\?ie=UTF8&node=(\d+)"}', scriptElem, re.M)for content in contentLst:print(f"content = {content}")searchClassDict[content[0]] = content[1]break
##### 输出结果
'''
content = ('TV & Video', '1266092011')
content = ('Home Audio & Theater', '667846011')
content = ('Camera, Photo & Video', '502394')
content = ('Cell Phones & Accessories', '2335752011')
content = ('Headphones', '172541')
content = ('Video Games', '468642')
content = ('Bluetooth & Wireless Speakers', '322215011')
content = ('Car Electronics', '1077068')
content = ('Musical Instruments', '11091801')
content = ('Wearable Technology', '9013937011')
content = ('Electronics Showcase', '172282')
content = ('Computers & Tablets', '13896617011')
content = ('Monitors', '1292115011')
content = ('Accessories', '172456')'''

3.4. 利用参数构造请求

if searchClass != 'All':# https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dmobile&field-keywords=phone+mount&rh=n%3A2335752011%2Ck%3Aphone+mountsearchUrl = f'https://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dmobile&field-keywords={quote(key)}&rh=n%3A{searchClassDict[searchClass]}%2Ck%3A{quote(key)}'
else:# https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords=phone+mountsearchUrl = f'https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Daps&field-keywords={quote(key)}'# print(f"###### searchUrl = {searchUrl}")yield Request(url = searchUrl,meta = {'searchSrc': searchSrcElem, 'dont_redirect': True},callback = self.parseSearchResPage,errback = self.error)

4. url中携带中文参数

  • 以1688搜索关键字为例:
# 目标是构造请求:https://s.1688.com/selloffer/offer_search.htm?keywords=%B6%AF%C2%FE%D6%DC%B1%DF&n=y&spm=a260k.635.3262836.d102# scrapy下
unicornHeaders = {':authority': 's.1688.com','Referer': 'https://www.1688.com/',
}# python3 所有的字符串都是unicode,而url要求bytes类型
# 动漫周边 tobyte为:%B6%AF%C2%FE%D6%DC%B1%DF# 1688上是: formatStr = b'\xb6\xaf\xc2\xfe\xd6\xdc\xb1\xdf'
formatStr = "动漫周边".encode('gbk')
# 或者是使用utf-8进行编码,视网站的具体情况而定。 taobao用的就是utf-8
# formatStr = "动漫周边".encode('utf-8')print(f"formatStr = {formatStr}")
yield FormRequest(url = 'https://s.1688.com/selloffer/offer_search.htm',headers = unicornHeaders,# formdata中的参数必须是字符串或者bytes,不能是整数之类的formdata = {'keywords': formatStr, 'n': 'y', 'spm': 'a260k.635.1998096057.d1'},method = 'GET',meta={},callback = self.parseCategoryPage,errback = self.error,  # 本项目中这里触发errback占绝大多数dont_filter = True,  # 不允许跳转
)

python爬虫之请求(url)构造 —— 寻找参数来源以及中文编码相关推荐

  1. python爬虫——https请求

    python爬虫--https请求 from urllib.request import Request,urlopen from fake_useragent import UserAgent im ...

  2. Python爬虫偷懒神器 — 快速构造请求头!

    我们在写爬虫构建请求的时候,不可避免地要添加请求头( headers ),一般来说,我们只要添加 user-agent 就能满足绝大部分需求了 但这并不是绝对的,有些请求单单添加一个 user-age ...

  3. python爬虫网络请求超时_6、web爬虫讲解2—urllib库爬虫—基础使用—超时设置—自动模拟http请求...

    利用python系统自带的urllib库写简单爬虫 urlopen()获取一个URL的html源码 read()读出html源码内容 decode("utf-8")将字节转化成字符 ...

  4. python爬虫post请求_Python爬虫之GET和POST请求

    爬虫--GET请求和POST请求 urllib.parse.urlencode()和urllib.parse.unquote() 编码工作使用urllib.parse的urlencode()函数,帮我 ...

  5. python爬虫post请求翻页_python爬虫如何POST request payload形式的请求

    python爬虫如何POST request payload形式的请求 1. 背景 最近在爬取某个站点时,发现在POST数据时,使用的数据格式是request payload,有别于之前常见的 POS ...

  6. python urllib.request 爬虫 数据处理-python爬虫1--urllib请求库之request模块

    urllib为python内置的HTTP请求库,包含四个模块: request:最基本的HTTP请求模块, 只需要传入URL和参数 error:异常处理模块 parse:工具模块,处理URL,拆分.解 ...

  7. Python爬虫网络请求 requests(get、post)

    Python网络请求模块 urllib Urllib 库,它是 Python 内置的 HTTP 请求库,也就是说我们不需要额外安装即可使用,它包含四个模块 第一个模块 request,它是最基本的 H ...

  8. Python爬虫下一代网络请求库httpx和parsel解析库测评

    Python网络爬虫领域两个最新的比较火的工具莫过于httpx和parsel了.httpx号称下一代的新一代的网络请求库,不仅支持requests库的所有操作,还能发送异步请求,为编写异步爬虫提供了便 ...

  9. Python 爬虫下一代网络请求库 httpx 和 parsel 解析库测评

    这是「进击的Coder」的第 437 篇技术分享 作者:大江狗 来源:Python Web与Django开发 " 阅读本文大概需要 8 分钟. " Python 网络爬虫领域两个最 ...

最新文章

  1. VTK:可视化之CameraActor
  2. 4怎样判断动作是否执行_公众号交易时要怎样去判断粉丝是否真实的呢?
  3. RUNOOB python 67 数组的元素互换
  4. 区块链安全的奥秘之一:非对称加密
  5. 计算机基础简明教案,计算机基础完整教案
  6. js中英文字符与中文字符长度区别
  7. [Android]利用金山词霸API实现英汉互译APP
  8. 计算机发展对文学的影响,论计算机技术对文学接受的影响
  9. PC设置切换Fn功能键
  10. HDU - 胜利大逃亡(搜索)
  11. 使用Pycharm 连接内网服务器
  12. python利器app插件_python利器app
  13. pycharm 格式化html文件
  14. SecureCRT Backspace/delete 键失效的解决方法
  15. 在少儿编程中使用easygui来实现交互(1)——msgbox
  16. C/C++ 函数(最大公约数)
  17. 无法下载eclipse || 下载eclipse被墙 的解决方案
  18. 苹果电脑上手写html,暴强:Mac电脑触控板也可用Apple Pencil手写笔
  19. 双鱼座三:舞者与梦想家的一周
  20. 如图,甲乙两人分别在AB两地同时相向而行,于E处相遇后,甲继续向B地行走,乙则休息了14分钟,在继续向A地行走,甲和乙到达B和A后立即折返,又在E处相遇,已知甲每分钟行走60米,乙每分钟行走80米

热门文章

  1. 【软件相关】推荐一个“下载神器”——万能命令
  2. 碳排放的计算有多个版本
  3. 谷歌浏览器清除搜索框曾搜索内容
  4. VC 检测U盘 C++
  5. WAMP启动报The configuration file contains a syntax error
  6. nginx https配置演示 简单可用
  7. 线程池原理及创建(转)
  8. 高并发学生选课系统设计
  9. 【第3版emWin教程】第50章 emWin6.x的AppWizard使用控件经典回调方式
  10. Very Deep Convolutional Networks for Text Classification之每日一篇