refactor: split modules and harden scraping workflows

This commit is contained in:
ShukeBta
2026-06-24 11:59:18 +08:00
parent efca3cbe69
commit 192f35d9fa
470 changed files with 47957 additions and 33839 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import toast from 'react-hot-toast'
import { historyAPI } from '../api/history'
import { imageURL } from '../api/client'
import { confirmAction } from '../components/ConfirmDialog'
import { confirmAction } from '../components/confirmAction'
import type { HistoryItem } from '../types'
function fmtDuration(ms: number): string {
@@ -102,7 +102,7 @@ export function WatchHistoryPage() {
<div className="h-16 w-12 shrink-0 overflow-hidden rounded-lg bg-surface-900">
{m.poster_url ? (
<img
src={imageURL(m.poster_url)}
src={imageURL(m.poster_url, m.updated_at)}
alt={m.title}
className="h-full w-full object-cover"
referrerPolicy="no-referrer"