mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2025-01-26 09:20:18 +08:00
fix: getLatestUrl does not get the last url when the timestamp is the same
This commit is contained in:
@ -90,7 +90,7 @@ const getLatestUrl = (list) => {
|
||||
const tsMch = list[i].match(/timestamp=(\d+)/)
|
||||
if (tsMch?.[1]) {
|
||||
const ts = parseInt(tsMch[1])
|
||||
if (time < parseInt(tsMch[1])) {
|
||||
if (time <= parseInt(tsMch[1])) {
|
||||
time = ts
|
||||
result = list[i]
|
||||
}
|
||||
|
Reference in New Issue
Block a user