mirror of
https://github.com/OpenSTDL/CrunchyDL.git
synced 2024-10-18 12:15:05 +02:00
added run.electron and removed some console.logs
This commit is contained in:
parent
7e660164b8
commit
1635012335
@ -8,8 +8,6 @@ export async function listSeasonCrunchy(q: string) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(q)
|
|
||||||
|
|
||||||
const { data, error } = await useFetch<CrunchySeasonsFetch>(`https://beta-api.crunchyroll.com/content/v2/cms/series/${q}/seasons`, {
|
const { data, error } = await useFetch<CrunchySeasonsFetch>(`https://beta-api.crunchyroll.com/content/v2/cms/series/${q}/seasons`, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
headers: {
|
headers: {
|
||||||
|
2
run.electron.bat
Normal file
2
run.electron.bat
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
@echo off
|
||||||
|
wait-on http://localhost:3000 && electron ./.output/src/electron/background.js
|
@ -290,8 +290,6 @@ export async function parseSubs(url: string, secret: string) {
|
|||||||
|
|
||||||
var key = secret + '7fac1178830cfe0c'
|
var key = secret + '7fac1178830cfe0c'
|
||||||
|
|
||||||
console.log(key)
|
|
||||||
|
|
||||||
var parsedSubtitle = CryptoJS.enc.Base64.parse(data.substring(0, 24))
|
var parsedSubtitle = CryptoJS.enc.Base64.parse(data.substring(0, 24))
|
||||||
var sec = CryptoJS.enc.Hex.parse(key)
|
var sec = CryptoJS.enc.Hex.parse(key)
|
||||||
var som = data.substring(24)
|
var som = data.substring(24)
|
||||||
|
@ -167,7 +167,6 @@ async function checkPlaylists() {
|
|||||||
e.dataValues.dir,
|
e.dataValues.dir,
|
||||||
e.dataValues.format
|
e.dataValues.format
|
||||||
)
|
)
|
||||||
console.log(e.dataValues.media)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -323,8 +322,6 @@ export async function downloadCrunchyrollPlaylist(
|
|||||||
|
|
||||||
var playlist = await crunchyGetPlaylist(e)
|
var playlist = await crunchyGetPlaylist(e)
|
||||||
|
|
||||||
console.log(playlist)
|
|
||||||
|
|
||||||
if (!playlist) {
|
if (!playlist) {
|
||||||
console.log('Playlist not found')
|
console.log('Playlist not found')
|
||||||
return
|
return
|
||||||
|
@ -14,9 +14,6 @@ export function getFFMPEGPath() {
|
|||||||
const ffmpeg = process.env.FFMPEG_PATH
|
const ffmpeg = process.env.FFMPEG_PATH
|
||||||
const ffprobe = process.env.FFPROBE_PATH
|
const ffprobe = process.env.FFPROBE_PATH
|
||||||
|
|
||||||
console.log(ffmpeg)
|
|
||||||
console.log(ffprobe)
|
|
||||||
|
|
||||||
return { ffmpeg: ffmpeg, ffprobe: ffprobe }
|
return { ffmpeg: ffmpeg, ffprobe: ffprobe }
|
||||||
} else {
|
} else {
|
||||||
const ffmpeg = path.join(ffmpegPath, 'ffmpeg.exe')
|
const ffmpeg = path.join(ffmpegPath, 'ffmpeg.exe')
|
||||||
|
@ -283,8 +283,6 @@ function convertToTimeFormat(time: number) {
|
|||||||
export async function ADNparseSub(raw: string, secret: string) {
|
export async function ADNparseSub(raw: string, secret: string) {
|
||||||
var key = secret + '7fac1178830cfe0c'
|
var key = secret + '7fac1178830cfe0c'
|
||||||
|
|
||||||
console.log(key)
|
|
||||||
|
|
||||||
var parsedSubtitle = CryptoJS.enc.Base64.parse(raw.substring(0, 24))
|
var parsedSubtitle = CryptoJS.enc.Base64.parse(raw.substring(0, 24))
|
||||||
var sec = CryptoJS.enc.Hex.parse(key)
|
var sec = CryptoJS.enc.Hex.parse(key)
|
||||||
var som = raw.substring(24)
|
var som = raw.substring(24)
|
||||||
|
Loading…
Reference in New Issue
Block a user