fix(route): remove dyanmic date stamp for link (#22818)
* fix(route): remove dynamic date stamp from the link * fix(route): remove dynamic date stamp from the link * fix: update radar source * fix: update radar source to restore www
This commit is contained in:
@@ -63,7 +63,9 @@ export const route: Route = {
|
||||
const $item = $(item);
|
||||
const a = $item.find('h1 a');
|
||||
const title = a.text();
|
||||
const link = new URL(a.attr('href') || '', baseUrl).href;
|
||||
const linkStr = new URL(a.attr('href') || '', baseUrl);
|
||||
linkStr.search = ''; // remove dynamic date stamp from the link
|
||||
const link = linkStr.href;
|
||||
const imgUrl = new URL($item.find('.aleftimg img').attr('src') || '', baseUrl).href;
|
||||
|
||||
const fullDuration = $item.find('.activity_r_detail p:nth-child(1) span:nth-child(2)').text().trim();
|
||||
|
||||
Reference in New Issue
Block a user