织梦CMS - 轻松建站从此开始!

欧博ABG官网-欧博官方网址-会员登入

欧博allbetUPS Tracking in Excel

时间:2025-12-19 02:46来源: 作者:admin 点击: 2 次
It doesn't look there's a clean UPS api to give you the delivery timestamp, but Power Query can parse it out of the HTML: let PackageDelivery = (tra

It doesn't look there's a clean UPS api to give you the delivery timestamp, but Power Query can parse it out of the HTML:

let PackageDelivery = (tracknum as text) as text => let WebText = Text.FromBinary(Web.Contents("http://wwwapps.ups.com/WebTracking/processInputRequest", [Query = [tracknum = tracknum]])), FromDeliveredOn = Text.Range(WebText, Text.PositionOf(WebText, "Delivered On:")), NextDD = Text.Range(FromDeliveredOn, Text.PositionOf(FromDeliveredOn, "<dd>") + 4, Text.PositionOf(FromDeliveredOn, "</dd>") - Text.PositionOf(FromDeliveredOn, "<dd>") - 4), Cleaned = Text.Clean(Text.Replace(Text.Replace(NextDD, "&nbsp;", " "), "#(lf)", " ")) in Cleaned, Invoked = PackageDelivery("1ZE1W7530369979412") //Replace with your tracking ID in Invoked

(责任编辑:)
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:
发布者资料
查看详细资料 发送留言 加为好友 用户等级: 注册时间:2025-12-19 23:12 最后登录:2025-12-19 23:12
栏目列表
推荐内容