精易论坛

标题: 取这个网站的参数 [打印本页]

作者: 线报大师兄    时间: 2024-4-26 15:18
标题: 取这个网站的参数
https://shop.lululemon.com/p/womens-sweatpants/Softstreme-HR-Pant/_/prod11020340?color=27597&sz=20   找到库存状态了,但是找不到库存数量。直接访问这个就可以了,求大佬看下。看不懂js文档和不会用xml分析。 求指点库存数量在哪里,哪个参数

作者: 熬夜    时间: 2024-4-26 15:59
https://shop.lululemon.com/p/wom ... lor=27597&sz=20
源码里有 Sold out online
作者: 线报大师兄    时间: 2024-4-26 16:10
熬夜 发表于 2024-4-26 15:59
https://shop.lululemon.com/p/women-pants/Softstreme-HR-Pant/_/prod11020340?color=27597&sz=20
源码里 ...

大佬 我想要库存数量,状态我已经取到了
作者: 熬夜    时间: 2024-4-26 16:16


  
子程序名返回值类型公开备 注
功能_网页访问文本型 本命令由【精易网页调试助手】生成,请配合精易模块使用。
变量名类 型静态数组备 注
局_网址文本型 
局_方式整数型 
局_提交数据文本型 
局_提交cookie文本型 
ADD_协议头类_POST数据类 
局_提交协议头文本型 
局_结果字节集 
局_返回文本型 
' [url]https://shop.lululemon.com/cne/graphql[/url]
局_网址 = "https://shop.lululemon.com/cne/graphql"
局_方式 = 1
' {"query":"query GetPCMQuery($id:String!,$category:String!,$unifiedId:String!,$locale:String,$forceMemberCheck:Boolean,$sl:String,$forcePcm:Boolean){productDetailPage(id:$id category:$category unifiedId:$unifiedId locale:$locale forceMemberCheck:$forceMemberCheck sl:$sl forcePcm:$forcePcm){allInseam{productId productUrl inseam __typename}allLocalePids{CA US siteId pdpUrl categoryUnifiedId productUnifiedId __typename}allSize{size available __typename}alsoAvailableIn{url type __typename}category{id name __typename}colorAttributes{colorId styleColorId wwmt fabricPill colorGroups designedFor{activityText iconId __typename}careAndContent{iconId title sections{media title attributes{iconId list{items title __typename}text __typename}__typename}__typename}fabricOrBenefits{iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}fitOrIngredients{id iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}fitOrHowToUse{id iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}featuresOrIngredients{id iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}__typename}colorDriver{color sizes __typename}colors{code name swatchUrl slug simpleRanking ituBt709 ituBt601 __typename}meta{isRedirect selfPath redirectPath __typename}pcmProductVideoInfo{type url posterImageUrl __typename}productAttributes{productContentCare{colorId heroBannerHotSpotText care{careId careDescription iconImgUrl __typename}__typename}productContentFeature{f5ContentAlignmentPDP styleId f5Features{featureName featureDescription __typename}__typename}productContentFabric{fabricDescription fabricDisplayName fabricId fabricPurposes __typename}productContentWhyWeMadeThis __typename}productCarousel{color{code name swatchUrl slug simpleRanking ituBt709 ituBt601 __typename}modelInfo{description modelIsWearing{productName numberOfAvailableColors url imageURL onSale listPrice salePrice __typename}__typename}imageInfo inseam mediaInfo{type url posterImageUrl __typename}__typename}productSummary{productId displayName unifiedId parentCategoryUnifiedId pdpUrl productUrl shareUrl chatUrl whyWeMadeThis isNew isFinalSale isSoldOut isLoyaltyProduct isHazmatProduct divisionId featuredFabric fitDetails departmentId activity allAncestorsDisplayName allAncestorsRepositoryId allAvailableSizes bazaarVoiceID collections colorGroup colour commonId currencyCode defaultParentCategory defaultSku display displayCA displayNameWithBr f5BckimgUrl freeReturnShipping gender genderCategoryTitle genderCategoryProductTitle hasLinkedProducts imageScheme isDisplayble isProductLocaleMatch itemType linkedProducts listPrice locale loyaltyTermsAndConditions{url text __typename}parentCategoryDisplayName parentCategoryKeywords price priceRange productActivityIdRepositoryId productApplicableSystems productBaseUrl productCatalogId productCategory productDefaultSort productDisallowAsRecommendation productHasOutfitProduct productLanguage productLastSkuAdditionDateTime productMarkDown productName productNoFollow productNoIndex productNonReturnable productNumberOfImageAssets productOnSale productSilver productSiteMapPdpUrl productSizes productWhatsNew skuOnSale skuSkuImages skuStyleOrder title trendingColors type __typename}productVariants{attributeType colorCode description fabric fit imageUrl label name path productId type __typename}refinementCrumbs{displayName dimensionName label multiSelect properties{navigationState nValue __typename}ancestors{label navigationState properties{navigationState nValue __typename}__typename}__typename}reviews{count bvId averageOverallRating __typename}sizeDriver{size colors __typename}sizeGuide{url category __typename}skus{id skuUrl price{listPrice currency{code symbol __typename}onSale salePrice __typename}size color{code name swatchUrl slug simpleRanking ituBt709 ituBt601 __typename}available inseam styleId styleNumber __typename}tier whyWeMadeThisAttributes{text image __typename}__typename}}","operationName":"GetPCMQuery","variables":{"id":"prod9960896","category":"jackets-and-hoodies-jackets","unifiedId":"Wunder-Puff-Crop-Vest","locale":"en-us","forceMemberCheck":null,"sl":"US","forcePcm":false}}
局_提交数据 = "{”+#引号+“query”+#引号+“:”+#引号+“query GetPCMQuery ($id:String!,$category:String!,$unifiedId:String!,$locale:String,$forceMemberCheck:Boolean,$sl:String,$forcePcm:Boolean){productDetailPage (id:$id category:$category unifiedId:$unifiedId locale:$locale forceMemberCheck:$forceMemberCheck sl:$sl forcePcm:$forcePcm){allInseam{productId productUrl inseam __typename}allLocalePids{CA US siteId pdpUrl categoryUnifiedId productUnifiedId __typename}allSize{size available __typename}alsoAvailableIn{url type __typename}category{id name __typename}colorAttributes{colorId styleColorId wwmt fabricPill colorGroups designedFor{activityText iconId __typename}careAndContent{iconId title sections{media title attributes{iconId list{items title __typename}text __typename}__typename}__typename}fabricOrBenefits{iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}fitOrIngredients{id iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}fitOrHowToUse{id iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}featuresOrIngredients{id iconId title sections{media{captionText imageAlt videoSrcPortrait videoPosterSrc videoPosterSrcPortrait imageSrc videoSrc __typename}title attributes{iconId list text attributeType __typename}__typename}__typename}__typename}colorDriver{color sizes __typename}colors{code name swatchUrl slug simpleRanking ituBt709 ituBt601 __typename}meta{isRedirect selfPath redirectPath __typename}pcmProductVideoInfo{type url posterImageUrl __typename}productAttributes{productContentCare{colorId heroBannerHotSpotText care{careId careDescription iconImgUrl __typename}__typename}productContentFeature{f5ContentAlignmentPDP styleId f5Features{featureName featureDescription __typename}__typename}productContentFabric{fabricDescription fabricDisplayName fabricId fabricPurposes __typename}productContentWhyWeMadeThis __typename}productCarousel{color{code name swatchUrl slug simpleRanking ituBt709 ituBt601 __typename}modelInfo{description modelIsWearing{productName numberOfAvailableColors url imageURL onSale listPrice salePrice __typename}__typename}imageInfo inseam mediaInfo{type url posterImageUrl __typename}__typename}productSummary{productId displayName unifiedId parentCategoryUnifiedId pdpUrl productUrl shareUrl chatUrl whyWeMadeThis isNew isFinalSale isSoldOut isLoyaltyProduct isHazmatProduct divisionId featuredFabric fitDetails departmentId activity allAncestorsDisplayName allAncestorsRepositoryId allAvailableSizes bazaarVoiceID collections colorGroup colour commonId currencyCode defaultParentCategory defaultSku display displayCA displayNameWithBr f5BckimgUrl freeReturnShipping gender genderCategoryTitle genderCategoryProductTitle hasLinkedProducts imageScheme isDisplayble isProductLocaleMatch itemType linkedProducts listPrice locale loyaltyTermsAndConditions{url text __typename}parentCategoryDisplayName parentCategoryKeywords price priceRange productActivityIdRepositoryId productApplicableSystems productBaseUrl productCatalogId productCategory productDefaultSort productDisallowAsRecommendation productHasOutfitProduct productLanguage productLastSkuAdditionDateTime productMarkDown productName productNoFollow productNoIndex productNonReturnable productNumberOfImageAssets productOnSale productSilver productSiteMapPdpUrl productSizes productWhatsNew skuOnSale skuSkuImages skuStyleOrder title trendingColors type __typename}productVariants{attributeType colorCode description fabric fit imageUrl label name path productId type __typename}refinementCrumbs{displayName dimensionName label multiSelect properties{navigationState nValue __typename}ancestors{label navigationState properties{navigationState nValue __typename}__typename}__typename}reviews{count bvId averageOverallRating __typename}sizeDriver{size colors __typename}sizeGuide{url category __typename}skus{id skuUrl price{listPrice currency{code symbol __typename}onSale salePrice __typename}size color{code name swatchUrl slug simpleRanking ituBt709 ituBt601 __typename}available inseam styleId styleNumber __typename}tier whyWeMadeThisAttributes{text image __typename}__typename}}”+#引号+“,”+#引号+“operationName”+#引号+“:”+#引号+“GetPCMQuery”+#引号+“,”+#引号+“variables”+#引号+“:{+#引号+“id”+#引号+“:”+#引号+“prod9960896”+#引号+“,”+#引号+“category”+#引号+“:”+#引号+“jackets-and-hoodies-jackets”+#引号+“,”+#引号+“unifiedId”+#引号+“:”+#引号+“Wunder-Puff-Crop-Vest”+#引号+“,”+#引号+“locale”+#引号+“:”+#引号+“en-us”+#引号+“,”+#引号+“forceMemberCheck”+#引号+“:null,”+#引号+“sl”+#引号+“:”+#引号+“US”+#引号+“,”+#引号+“forcePcm”+#引号+“:false}}"
局_提交cookie = "Cookie: sl=US; UsrLocale=en_US; ltmo=1; lll-ecom-correlation-id=A0D29A01-9B5B-98E5-7CB3-A114C15C41C4; ak_bmsc=427E04BA88AC75523E1F2880750952C0~000000000000000000000000000000~YAAQ8ffVF6f8Ce2OAQAANHBnGRcNtv74XlxBzePDzRXa3L9oA+8a85KGjNUzfIa6DNwudh0RfZ1UP/+cYs9pGrEXF9CFPeMXXJMarZVlk4XKhEjwNcAiPJ5modZNsWL2PQFqqR+4Bm45MPylEJabuKH2mqbaduiF+H4AEFMg1CdXlfvtEnMBQ37W6MIHEYi9QNwYnFOwOhik3Qk+/79tvO21Z4XO8Vyl1LGZmfTOsxa6kWOFkT2Z4ygTS5EFnNm1P66bXo+jfrdECMHR58squU9pq4PaQyeyN0pI3Ep9XU6IGKktrAXi+8+rLIO1fdYpvJIITmSATQBZ+ldqzdAIV4d6jCjYkgoUHPJpjVs8FCF2CnBONXdHMp2eqdSazGCS+f/tyZ352IOW9dTmLyaA15isjBdKXiiTSePzfWCVV6Mu6vMQe9Bplje1AH3hJhbqaTzM2jWMFaAp7jKHkfx7BQ==; sat_track=true; AMCVS_A92B3BC75245B1030A490D4D%40AdobeOrg=1; s_ecid=MCMID%7C39693052249667394583248979383372265732; AMCV_A92B3BC75245B1030A490D4D%40AdobeOrg=179643557%7CMCIDTS%7C19840%7CMCMID%7C39693052249667394583248979383372265732%7CMCAAMLH-1714722925%7C11%7CMCAAMB-1714722925%7C6G1ynYcLPuiQxYZrsz_pkqfLG9yMXBpb2zX5dvJdYQJzPXImdj0y%7CMCOPTOUT-1714125325s%7CNONE%7CMCAID%7CNONE%7CvVersion%7C5.5.0; apigeeToken=eyJqa3UiOiJodHRwczpcL1wvcHJvZC5hcGlzLmxsbGV4dC5jb21cL2FwaW1cL3YxXC9qd3R2ZXJpZmljYXRpb25cL2p3a3MiLCJraWQiOiJyc2FfXzNkbmdqZWJ1YjBudm9ib2Z0MCIsInR5cCI6IkpXVCIsImFsZyI6IlJTMjU2In0.eyJpc3MiOiJodHRwczpcL1wvcHJvZC5hcGlzLmxsbGV4dC5jb21cL2p3dFwvdjEiLCJJRCI6InhWR1NVZXVndm9nUHRnaUprYmo4aUY3U2FjYW5WSUE5IiwiVVVJRCI6IjZhNDliM2U3LTRjYjUtNDMzMS05NDg3LTU0N2FmNmYz


作者: 线报大师兄    时间: 2024-4-26 16:32
熬夜 发表于 2024-4-26 16:16
[e=0].版本 2

.子程序 功能_网页访问, 文本型, , 本命令由【精易网页调试助手】生成,请配合精易模块使 ...

先感谢大佬您百忙之中的解答,我不是要库存状态,我已经取到了。我想要找到他的库存数量,有货的数量

补充内容 (2024-4-26 16:32):

作者: 线报大师兄    时间: 2024-4-26 16:36
熬夜 发表于 2024-4-26 15:59
https://shop.lululemon.com/p/women-pants/Softstreme-HR-Pant/_/prod11020340?color=27597&sz=20
源码里 ...



作者: ck小镇    时间: 2024-4-26 17:04
这个本来就没有具体库存数量吧 看了js 好像只是通过一些字段状态来判断是否卖完或者还剩几件的提示
作者: police0909    时间: 2024-4-26 17:23
线报大师兄 发表于 2024-4-26 16:36

你管这个,叫库存数量?

作者: 线报大师兄    时间: 2024-4-26 18:07
ck小镇 发表于 2024-4-26 17:04
这个本来就没有具体库存数量吧 看了js 好像只是通过一些字段状态来判断是否卖完或者还剩几件的提示 ...

有的 香港站就有,点一下规格,返回一个包 ats这个就是库存数量,但是这个加拿大站找不到
作者: 线报大师兄    时间: 2024-4-27 00:48
police0909 发表于 2024-4-26 17:23
你管这个,叫库存数量?

我找不到他的库存数量,我看到有软件可以获取。看不明白那个js,我现在只找到了库存状态
作者: police0909    时间: 2024-4-27 01:09
线报大师兄 发表于 2024-4-27 00:48
我找不到他的库存数量,我看到有软件可以获取。看不明白那个js,我现在只找到了库存状态 ...

这是接口问题,不是js。你要抓包找到下发库存数量的请求接口





欢迎光临 精易论坛 (https://125.confly.eu.org/) Powered by Discuz! X3.4