B2B网站发布脚本一呼百应循环发布信息
一呼百应是全球领先专业商贸搜索引擎,中小企业采购、推广平台,收录了全国2千多万家中小企业数据,1亿多条中小企业产品上下游产业链供求信息。
深山的鹿博客原创首发按键精灵脚本,实现B2B网站一呼百应循环发布信息,在使用过程中,可能出现一些错误提示,一般是“产品描述中未包含标题内容”
下面是代码,可以自行根据注释更改。
/* 请将分辨率设置为1920*1080,并使用Google Chrome,只有一行地址栏;3 进入一呼百应后台即可 */ //========================================进入发布页面 /* //--点击产品管理 MoveTo 519, 328 Delay 500 LeftClick 1 Delay 500 */ //--点击发布产品信息 KeyPress "PageUp", 1 Delay 200 KeyPress "PageUp", 1 Delay 200 KeyPress "PageUp", 1 Delay 200 KeyPress "PageUp", 1 Delay 200 MoveTo 516, 358 Delay 200 LeftClick 1 Delay 500 //--除错 KeyPress "Enter", 1 Delay 800 //--点击常使用的类目 MoveTo 975, 181 Delay 500 LeftClick 1 Delay 500 //--点选第一条类目 MoveTo 701, 331 Delay 500 LeftClick 1 Delay 500 //--点击确定 MoveTo 1054, 586 Delay 500 LeftClick 1 Delay 500 //========================================输入标题及基本信息 //--键入 MoveTo 773, 297 Delay 800 LeftClick 1 Delay 500 //--切换Excel KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 //--复制 KeyDown 17, 1 KeyPress 67, 1 KeyUp 17, 1 Delay 500 //--右移 KeyPress "Right", 1 Delay 500 //--切换浏览器 KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 //--粘贴 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 Delay 500 //--输入后缀除错 SayString "专业施工" Delay 500 //--键入Tab输入店铺标签 KeyPress "Tab", 1 Delay 500 SayString "屋面" Delay 500 //--键入Tab三次输入产品用途 KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 SayString "无梁无檩金属波纹拱形房屋顶" Delay 500 //========================================点选及输入产品属性 //产品材质 MoveTo 1085, 512 Delay 300 LeftClick 1 Delay 500 MoveTo 973, 638 Delay 300 LeftClick 1 Delay 500 MoveTo 1120, 515 Delay 300 LeftClick 1 Delay 500 SayString "专用拱顶914彩涂卷含镀锌层" Delay 500 //--使用范围 MoveTo 1082, 557 Delay 300 LeftClick 1 Delay 500 MoveTo 1009, 679 Delay 300 LeftClick 1 Delay 500 MoveTo 1113, 558 Delay 300 LeftClick 1 Delay 500 SayString "各种跨度无梁屋面" Delay 500 //--产品类别 MoveTo 1083, 602 Delay 300 LeftClick 1 Delay 500 MoveTo 932, 643 Delay 300 LeftClick 1 Delay 500 //--产地 MoveTo 1082, 646 Delay 300 LeftClick 1 Delay 500 MoveTo 923, 736 Delay 300 LeftClick 1 Delay 500 MoveTo 1138, 649 Delay 300 LeftClick 1 Delay 500 SayString "江苏省盐城市建湖县" Delay 500 //--品牌 KeyPress "Tab", 1 Delay 500 SayString "上海宝钢彩涂卷" Delay 500 //--钢板厚度 KeyPress "Tab", 1 Delay 500 SayString "0.8mm~1.5mm" Delay 500 //--规格 KeyPress "Tab", 1 Delay 500 SayString "TS280GD-Z" Delay 500 //--钢型号 MoveTo 1082, 826 Delay 300 LeftClick 1 Delay 500 MoveTo 913, 950 Delay 300 LeftClick 1 Delay 500 MoveTo 1110, 830 Delay 300 LeftClick 1 Delay 500 SayString "914-610彩涂卷专用钢板" Delay 500 //--每平方米用钢量 KeyPress "Tab", 1 Delay 500 SayString "按图施工另行核算" Delay 500 //--活动类型 MoveTo 1083, 918 Delay 300 LeftClick 1 Delay 500 MoveTo 912, 973 Delay 300 LeftClick 1 Delay 500 //--特殊用途 MoveTo 1086, 967 Delay 300 LeftClick 1 Delay 500 MoveTo 919, 905 Delay 300 LeftClick 1 Delay 500 //========================================沉杂 //点击空白并下翻页 MoveTo 1334, 738 Delay 300 LeftClick 1 Delay 500 KeyPress "PageDown", 1 Delay 500 //点击自定义分页 MoveTo 778, 245 Delay 300 LeftClick 1 Delay 500 MoveTo 777, 276 Delay 300 LeftClick 1 Delay 500 //点选计量单位 MoveTo 920, 534 Delay 300 LeftClick 1 Delay 500 MoveTo 870, 870 Delay 300 LeftClick 1 Delay 500 //点击并输入价格区间 MoveTo 867, 639 Delay 300 LeftClick 1 Delay 500 SayString "10000" Delay 500 KeyPress "Tab", 1 Delay 500 SayString "125" Delay 500 KeyPress "Tab", 1 Delay 500 SayString "100000" Delay 500 //--点选发货地址 //----省 MoveTo 973, 888 Delay 300 LeftClick 1 Delay 500 MoveTo 867, 714 Delay 300 LeftClick 1 Delay 500 //----市 MoveTo 1056, 886 Delay 300 LeftClick 1 Delay 500 MoveTo 1011, 795 Delay 300 LeftClick 1 Delay 500 //----县 MoveTo 1136, 888 Delay 300 LeftClick 1 Delay 500 MoveTo 1102, 828 Delay 300 LeftClick 1 Delay 500 //点选卖家承担运费 MoveTo 954, 950 Delay 300 LeftClick 1 Delay 500 MoveTo 1050, 950 Delay 300 LeftClick 1 Delay 500 KeyPress "PageDown", 1 Delay 500 //========================================产品图片 MoveTo 1245, 299 Delay 800 LeftClick 1 Delay 800 MoveTo 781, 540 Delay 800 LeftClick 1 Delay 500 MoveTo 958, 346 Delay 300 LeftClick 1 Delay 500 MoveTo 1138, 347 Delay 300 LeftClick 1 Delay 500 MoveTo 1142, 539 Delay 300 LeftClick 1 Delay 500 MoveTo 1277, 800 Delay 300 LeftClick 1 Delay 500 //具体内容 MoveTo 788, 482 Delay 300 LeftClick 1 Delay 500 KeyDown 17, 1 KeyPress 67, 1 KeyUp 17, 1 //第二次切换复制粘贴 KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 KeyDown 17, 1 KeyPress 67, 1 KeyUp 17, 1 Delay 500 KeyPress 39, 1 Delay 500 KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 //第三次切换复制粘贴 KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 KeyDown 17, 1 KeyPress 67, 1 KeyUp 17, 1 Delay 500 KeyPress 39, 1 Delay 500 KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 //第四次切换复制粘贴(左移3格并下移一格,最后切换为原页面粘贴) KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 Delay 500 KeyDown 17, 1 KeyPress 67, 1 KeyUp 17, 1 Delay 500 KeyPress 37, 1 Delay 500 KeyPress 37, 1 Delay 500 KeyPress 37, 1 Delay 500 KeyPress 40, 1 KeyDown 18, 1 KeyPress "Tab", 1 KeyUp 18, 1 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 //发布 MoveTo 1542, 641 Delay 300 LeftClick 1 Delay 500 KeyPress "PageDown", 1 Delay 500 MoveTo 995, 835 Delay 300 LeftClick 1 Delay 500 Delay 5000