Skip to content

Commit

Permalink
fix: 优设读报 (#6263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Shen authored Nov 30, 2020
1 parent 4612bc8 commit 15f6ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/uisdc/news.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = async (ctx) => {
.map((_, item) => {
item = $(item);
const description = item.find('.item-content').html();
const date = description.match(/db-(\d{8})-\d{1}.jpg/)[1];
const date = description.match(/[db|DB]-(\d{8})-\d{1}./)[1];
return {
description,
link: rootUrl,
Expand Down

0 comments on commit 15f6ad9

Please sign in to comment.