Skip to content

Commit

Permalink
Fixed permanent doodli referrer #26
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmaster055 committed Dec 11, 2024
1 parent f6e0ded commit db12771
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/aniworld/execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,12 @@ def build_yt_dlp_command(link: str, output_file: str) -> List[str]:
"-o", output_file,
"--quiet",
"--no-warnings",
"--add-header", "Referer: https://dood.li/",
link,
"--progress",
"--http-header-fields=Referer: https://dood.li/"
"--progress"
]
provider = ""
if provider == "direct-link": # TODO Doodstream referrer
command.append("--http-header-fields=Referer: https://dood.li/")

logging.debug("Built yt-dlp command: %s", command)
return command
Expand Down

0 comments on commit db12771

Please sign in to comment.