mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2025-12-20 00:49:33 +05:30
feat: added quick paste and clear buttons in downloader
This commit is contained in:
@@ -472,7 +472,7 @@ export default function App({ children }: { children: React.ReactNode }) {
|
||||
|
||||
command.stdout.on('data', line => {
|
||||
if (line.startsWith('status:') || line.startsWith('[#')) {
|
||||
console.log(line);
|
||||
// console.log(line);
|
||||
if (DEBUG_MODE && LOG_PROGRESS) LOG.progress(`YT-DLP Download ${downloadId}`, line);
|
||||
const currentProgress = parseProgressLine(line);
|
||||
const state: DownloadState = {
|
||||
@@ -533,7 +533,7 @@ export default function App({ children }: { children: React.ReactNode }) {
|
||||
}
|
||||
})
|
||||
} else {
|
||||
console.log(line);
|
||||
// console.log(line);
|
||||
if (line.trim() !== '') LOG.info(`YT-DLP Download ${downloadId}`, line);
|
||||
|
||||
if (line.startsWith('Finalpath: ')) {
|
||||
|
||||
Reference in New Issue
Block a user