-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(route): Add New Route for UPS Tracking #17941
base: master
Are you sure you want to change the base?
Conversation
Successfully generated as following: http://localhost:1200/ups/track/1Z78R6790470567520 - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>UPS Tracking - 1Z78R6790470567520</title>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<atom:link href="http://localhost:1200/ups/track/1Z78R6790470567520" rel="self" type="application/rss+xml"></atom:link>
<description>UPS Tracking - 1Z78R6790470567520 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>en</language>
<lastBuildDate>Thu, 19 Dec 2024 16:54:28 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>Delivered: REDMOND, WA, US</title>
<description>Status: Delivered <br>
Location: REDMOND, WA, US <br>
Date and Time: 10/31/2024 6:06 PM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 10:06:00 GMT</pubDate>
</item>
<item>
<title>Out for Delivery: Redmond, WA, United States</title>
<description>Status: Out for Delivery <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 9:26 AM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 01:26:00 GMT</pubDate>
</item>
<item>
<title>On the Way: Redmond, WA, United States</title>
<description>Status: On the Way <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 6:17 AM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 22:17:00 GMT</pubDate>
</item>
<item>
<title>Cleared Import Customs:</title>
<description>Status: Cleared Import Customs <br>
Location: <br>
Date and Time: 10/30/2024 9:23 AM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 01:23:00 GMT</pubDate>
</item>
<item>
<title>We Have Your Package: Shanghai, China</title>
<description>Status: We Have Your Package <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 2:32 PM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 06:32:00 GMT</pubDate>
</item>
</channel>
</rss> |
Successfully generated as following: http://localhost:1200/ups/track/1Z78R6790470567520 - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>UPS Tracking - 1Z78R6790470567520</title>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<atom:link href="http://localhost:1200/ups/track/1Z78R6790470567520" rel="self" type="application/rss+xml"></atom:link>
<description>UPS Tracking - 1Z78R6790470567520 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>en</language>
<lastBuildDate>Thu, 19 Dec 2024 17:44:02 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>Delivered: REDMOND, WA, US</title>
<description>Status: Delivered <br>
Location: REDMOND, WA, US <br>
Date and Time: 10/31/2024 6:06 PM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 10:06:00 GMT</pubDate>
</item>
<item>
<title>Out for Delivery: Redmond, WA, United States</title>
<description>Status: Out for Delivery <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 9:26 AM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 01:26:00 GMT</pubDate>
</item>
<item>
<title>On the Way: Redmond, WA, United States</title>
<description>Status: On the Way <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 6:17 AM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 22:17:00 GMT</pubDate>
</item>
<item>
<title>Cleared Import Customs:</title>
<description>Status: Cleared Import Customs <br>
Location: <br>
Date and Time: 10/30/2024 9:23 AM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 01:23:00 GMT</pubDate>
</item>
<item>
<title>We Have Your Package: Shanghai, China</title>
<description>Status: We Have Your Package <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 2:32 PM</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 06:32:00 GMT</pubDate>
</item>
</channel>
</rss> |
lib/routes/ups/track.ts
Outdated
}, | ||
radar: [ | ||
{ | ||
source: ['ups.com/track?loc=en_US&tracknum=:trackingNumber'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source
cannot match search parameter
lib/routes/ups/track.ts
Outdated
target: '/ups/track/:trackingNumber', | ||
}, | ||
], | ||
name: 'UPS Tracking', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not repeat namespace name
RSSHub/lib/routes/ups/namespace.ts
Line 4 in 612d9cd
name: 'UPS', |
lib/routes/ups/track.ts
Outdated
|
||
// skip loading images, stylesheets, and fonts | ||
page.on('request', (request) => { | ||
if (['image', 'stylesheet', 'font'].includes(request.resourceType())) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (['image', 'stylesheet', 'font'].includes(request.resourceType())) { | |
if (['image', 'stylesheet', 'font', 'ping', 'fetch'].includes(request.resourceType())) { |
lib/routes/ups/track.ts
Outdated
await page.goto(url, { waitUntil: 'domcontentloaded' }); | ||
|
||
await page.waitForSelector('tr[id^="stApp_ShpmtProg_LVP_progress_row_"]', { | ||
timeout: 30000, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not wait for 30s, the browser will be closed by RSSHub
Lines 57 to 59 in f5fc827
setTimeout(() => { | |
browser.close(); | |
}, 30000); |
lib/routes/ups/track.ts
Outdated
return { | ||
title: `${status}: ${location}`, | ||
link: url, | ||
description: ` | ||
Status: ${status} <br> | ||
Location: ${location} <br> | ||
Date and Time: ${date} ${time} | ||
`.trim(), | ||
pubDate: parseDate(formattedDateTime, 'MM/DD/YYYY h:mm A'), | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a guid as link
is not unique
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPS does not provide a separate page for each tracking record. That's why I'm linking each record to the tracking page.
lib/routes/ups/track.ts
Outdated
const $ = load(content); | ||
|
||
// Extract tracking events | ||
const items = $('tr[id^="stApp_ShpmtProg_LVP_progress_row_"]') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be better if you can intercept the response of /track/api/Track/GetStatus
since it provides 22 shipment progress activities instead of 6 only (from /ups/track/1Z78R6790470567520
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the official UPS API /track/api/Track/GetStatus
requires OAuth 2.0, which involves account registration and a payment method, so I had to rely on scraping to fetch updates.
- Implemented tracking functionality in `lib/routes/ups/track.ts`
Successfully generated as following: http://localhost:1200/ups/track/1Z78R6790470567520 - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>UPS Tracking - 1Z78R6790470567520</title>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<atom:link href="http://localhost:1200/ups/track/1Z78R6790470567520" rel="self" type="application/rss+xml"></atom:link>
<description>UPS Tracking - 1Z78R6790470567520 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>en</language>
<lastBuildDate>Sun, 22 Dec 2024 20:34:47 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>Delivered</title>
<description>Status: Delivered <br>
Location: REDMOND, WA, US <br>
Date and Time: 10/31/2024 6:06 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 10:06:00 GMT</pubDate>
</item>
<item>
<title>Out for Delivery</title>
<description>Status: Out for Delivery <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 9:26 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 01:26:00 GMT</pubDate>
</item>
<item>
<title>On the Way</title>
<description>Status: On the Way <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 6:17 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 22:17:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Seattle, WA, United States <br>
Date and Time: 10/31/2024 5:20 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 21:20:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Seattle, WA, United States <br>
Date and Time: 10/31/2024 4:36 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 20:36:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Ontario, CA, United States <br>
Date and Time: 10/31/2024 2:03 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 18:03:00 GMT</pubDate>
</item>
<item>
<title>Import Scan</title>
<description>Status: Import Scan <br>
Location: Ontario, CA, United States <br>
Date and Time: 10/30/2024 10:54 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 14:54:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/30/2024 9:21 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 13:21:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Ontario, CA, United States <br>
Date and Time: 10/30/2024 9:20 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 13:20:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Anchorage, AK, United States <br>
Date and Time: 10/30/2024 4:27 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 08:27:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Anchorage, AK, United States <br>
Date and Time: 10/30/2024 3:26 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 07:26:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Anchorage, AK, United States <br>
Date and Time: 10/30/2024 12:52 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 04:52:00 GMT</pubDate>
</item>
<item>
<title>Cleared Import Customs</title>
<description>Status: Cleared Import Customs <br>
Location: Your package has cleared customs and is on the way. <br>
Date and Time: 10/30/2024 9:23 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 01:23:00 GMT</pubDate>
</item>
<item>
<title>Your package is in transit. We're updating plans to schedule your delivery. / The package will be forwarded to a UPS facility in the destination city.</title>
<description>Status: Your package is in transit. We're updating plans to schedule your delivery. / The package will be forwarded to a UPS facility in the destination city. <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 11:43 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 15:43:00 GMT</pubDate>
</item>
<item>
<title>Your package is in transit. We're updating plans to schedule your delivery.</title>
<description>Status: Your package is in transit. We're updating plans to schedule your delivery. <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 11:21 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 15:21:00 GMT</pubDate>
</item>
<item>
<title>Export Scan</title>
<description>Status: Export Scan <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 7:22 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 11:22:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 6:45 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 10:45:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 6:30 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 10:30:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 3:55 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 07:55:00 GMT</pubDate>
</item>
<item>
<title>We Have Your Package</title>
<description>Status: We Have Your Package <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 2:32 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 06:32:00 GMT</pubDate>
</item>
<item>
<title>The package is at the clearing agency awaiting final release.</title>
<description>Status: The package is at the clearing agency awaiting final release. <br>
Location: The package is at the clearing agency awaiting final release. <br>
Date and Time: 10/29/2024 1:31 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Mon, 28 Oct 2024 17:31:00 GMT</pubDate>
</item>
<item>
<title>Label Created</title>
<description>Status: Label Created <br>
Location: China <br>
Date and Time: Not Provided
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Invalid Date</pubDate>
</item>
</channel>
</rss> |
Successfully generated as following: http://localhost:1200/ups/track/1Z78R6790470567520 - Success ✔️<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>UPS Tracking - 1Z78R6790470567520</title>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<atom:link href="http://localhost:1200/ups/track/1Z78R6790470567520" rel="self" type="application/rss+xml"></atom:link>
<description>UPS Tracking - 1Z78R6790470567520 - Powered by RSSHub</description>
<generator>RSSHub</generator>
<webMaster>[email protected] (RSSHub)</webMaster>
<language>en</language>
<lastBuildDate>Sun, 22 Dec 2024 20:43:15 GMT</lastBuildDate>
<ttl>5</ttl>
<item>
<title>Delivered</title>
<description>Status: Delivered <br>
Location: REDMOND, WA, US <br>
Date and Time: 10/31/2024 6:06 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 10:06:00 GMT</pubDate>
</item>
<item>
<title>Out for Delivery</title>
<description>Status: Out for Delivery <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 9:26 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Thu, 31 Oct 2024 01:26:00 GMT</pubDate>
</item>
<item>
<title>On the Way</title>
<description>Status: On the Way <br>
Location: Redmond, WA, United States <br>
Date and Time: 10/31/2024 6:17 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 22:17:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Seattle, WA, United States <br>
Date and Time: 10/31/2024 5:20 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 21:20:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Seattle, WA, United States <br>
Date and Time: 10/31/2024 4:36 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 20:36:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Ontario, CA, United States <br>
Date and Time: 10/31/2024 2:03 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 18:03:00 GMT</pubDate>
</item>
<item>
<title>Import Scan</title>
<description>Status: Import Scan <br>
Location: Ontario, CA, United States <br>
Date and Time: 10/30/2024 10:54 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 14:54:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/30/2024 9:21 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 13:21:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Ontario, CA, United States <br>
Date and Time: 10/30/2024 9:20 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 13:20:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Anchorage, AK, United States <br>
Date and Time: 10/30/2024 4:27 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 08:27:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Anchorage, AK, United States <br>
Date and Time: 10/30/2024 3:26 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 07:26:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Anchorage, AK, United States <br>
Date and Time: 10/30/2024 12:52 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 04:52:00 GMT</pubDate>
</item>
<item>
<title>Cleared Import Customs</title>
<description>Status: Cleared Import Customs <br>
Location: Your package has cleared customs and is on the way. <br>
Date and Time: 10/30/2024 9:23 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Wed, 30 Oct 2024 01:23:00 GMT</pubDate>
</item>
<item>
<title>Your package is in transit. We're updating plans to schedule your delivery. / The package will be forwarded to a UPS facility in the destination city.</title>
<description>Status: Your package is in transit. We're updating plans to schedule your delivery. / The package will be forwarded to a UPS facility in the destination city. <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 11:43 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 15:43:00 GMT</pubDate>
</item>
<item>
<title>Your package is in transit. We're updating plans to schedule your delivery.</title>
<description>Status: Your package is in transit. We're updating plans to schedule your delivery. <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 11:21 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 15:21:00 GMT</pubDate>
</item>
<item>
<title>Export Scan</title>
<description>Status: Export Scan <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 7:22 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 11:22:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 6:45 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 10:45:00 GMT</pubDate>
</item>
<item>
<title>Departed from Facility</title>
<description>Status: Departed from Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 6:30 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 10:30:00 GMT</pubDate>
</item>
<item>
<title>Arrived at Facility</title>
<description>Status: Arrived at Facility <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 3:55 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 07:55:00 GMT</pubDate>
</item>
<item>
<title>We Have Your Package</title>
<description>Status: We Have Your Package <br>
Location: Shanghai, China <br>
Date and Time: 10/29/2024 2:32 PM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Tue, 29 Oct 2024 06:32:00 GMT</pubDate>
</item>
<item>
<title>The package is at the clearing agency awaiting final release.</title>
<description>Status: The package is at the clearing agency awaiting final release. <br>
Location: The package is at the clearing agency awaiting final release. <br>
Date and Time: 10/29/2024 1:31 AM
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Mon, 28 Oct 2024 17:31:00 GMT</pubDate>
</item>
<item>
<title>Label Created</title>
<description>Status: Label Created <br>
Location: China <br>
Date and Time: Not Provided
</description>
<link>https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</link>
<guid isPermaLink="false">https://www.ups.com/track?loc=en_US&tracknum=1Z78R6790470567520</guid>
<pubDate>Invalid Date</pubDate>
</item>
</channel>
</rss> |
Involved Issue / 该 PR 相关 Issue
Close #
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
Puppeteer
Note / 说明
发现关于
/utils/parse-date
的不明bug,会导致parseDate('12/17/2024 2:29 PM', 'MM/DD/YYYY h:mm A')
中的AM/PM
无法正确解析。UPS的时间记录根据事件发生城市所在时区。数据量太大,短时间无法完成时区正确。