feat: add YouTube video download support
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div class="home">
|
||||
<h1>Twitter/X Video Downloader</h1>
|
||||
<p class="subtitle">Paste a Twitter/X video link to download</p>
|
||||
<h1>Video Downloader</h1>
|
||||
<p class="subtitle">Paste a Twitter/X or YouTube video link to download</p>
|
||||
|
||||
<div class="input-group">
|
||||
<input v-model="url" placeholder="https://x.com/user/status/123..." @keyup.enter="parseUrl" :disabled="loading" />
|
||||
<input v-model="url" placeholder="https://x.com/... or https://youtube.com/watch?v=..." @keyup.enter="parseUrl" :disabled="loading" />
|
||||
<button @click="parseUrl" :disabled="loading || !url.trim()">
|
||||
{{ loading ? '⏳ Parsing...' : '🔍 Parse' }}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user