mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Do text-center in copyright in about && add testing data.
This commit is contained in:
parent
046f5ae446
commit
ce1d150c11
4 changed files with 13 additions and 2 deletions
9
server/api/publishers/lt/[slug].ts
Normal file
9
server/api/publishers/lt/[slug].ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
import * as cheerio from "cheerio";
|
||||
|
||||
export default defineEventHandler(async (event) => {
|
||||
const slug = getRouterParam(event, "slug");
|
||||
const buildUrl = "https://today.line.me/tw/v3/publisher/" + slug;
|
||||
try {
|
||||
const req = await fetch(buildUrl)
|
||||
} catch (e) {}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue