fix(route/zaobao): Replace selector (#15880)
* fix(route/zaobao): Replace selector. * Revert "fix(route/zaobao): Replace selector." This reverts commit 2ec2b6c3ef801d12117abbfa425b62bd1dbf1919. * . * .
This commit is contained in:
@@ -38,7 +38,7 @@ const parseList = async (
|
||||
}> => {
|
||||
const response = await got_ins.get(baseUrl + sectionUrl);
|
||||
const $ = load(response.data);
|
||||
let data = $('.article-list').find('.article-type');
|
||||
let data = /realtime/.test(sectionUrl) ? $('.on-listing-pages') : $('.article-list').find('.article-type');
|
||||
if (data.length === 0) {
|
||||
// for HK version
|
||||
data = $('.clearfix').find('.list-block');
|
||||
|
||||
Reference in New Issue
Block a user