Skip to content

Commit

Permalink
perf: experimental: ytmp3 use api instead of ytdl-core
Browse files Browse the repository at this point in the history
  • Loading branch information
riskyprsty committed Jun 16, 2024
1 parent c771b0d commit 3963f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function getTiktokVideo(url: string): Promise<ResultTiktok> {
export async function getYoutubeVideo(url: string): Promise<ResultYoutube> {
try {
const { data } = await axios.get<YoutubeApiResponse>(
`https://api-tools.tribone.my.id/servertiktok3?url=${url}`,
`https://sh.zanixon.xyz/api/downloader/ytmp3?url=${url}`,
{
headers: {
Accept: 'application/json',
Expand Down

0 comments on commit 3963f5d

Please sign in to comment.