Skip to content

Commit

Permalink
fix(router): zaobao empty router (#16738)
Browse files Browse the repository at this point in the history
  • Loading branch information
gythialy committed Sep 13, 2024
1 parent ed36988 commit ae86fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/zaobao/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const parseList = async (
}> => {
const response = await got_ins.get(baseUrl + sectionUrl);
const $ = load(response.data);
let data = /realtime/.test(sectionUrl) ? $('.on-listing-pages') : $('.article-list').find('.article-type');
let data = /realtime/.test(sectionUrl) ? $('.card-listing .card') : $('.article-list').find('.article-type');
if (data.length === 0) {
// for HK version
data = $('.clearfix').find('.list-block');
Expand Down

0 comments on commit ae86fb8

Please sign in to comment.