Skip to content

Commit

Permalink
Change default client fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulNdrei committed May 15, 2024
1 parent 2afb657 commit 729dcd7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fetcher/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

import requests
from pytube import YouTube
from pytube.innertube import _default_clients

_default_clients["ANDROID_MUSIC"] = _default_clients["ANDROID"]

import traceback

from db import get_connection
Expand Down
3 changes: 3 additions & 0 deletions preprocessor/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
from utils import GracefulKiller

from pytube import YouTube
from pytube.innertube import _default_clients

_default_clients["ANDROID_MUSIC"] = _default_clients["ANDROID"]

killer = GracefulKiller()

Expand Down

0 comments on commit 729dcd7

Please sign in to comment.