当我尝试下载我的私人视频时,我得到以下信息:
youtube-dl https://youtu.be/Q-xxxx-xxxx
[youtube] Q-xxxx-xxxx: Downloading webpage
[youtube] Q-xxxx-xxxx: Downloading video info webpage
WARNING: Unable to extract video title
ERROR: This video is unavailable.
Run Code Online (Sandbox Code Playgroud)
当我尝试使用用户名和密码时,它在我的 2FA 上失败。
youtube-dl --username=me@gmail.com https://youtu.be/Q-xxxx-xxxx
Type account password and press [Return]:
[youtube] Downloading login page
[youtube] Looking up account info
[youtube] Logging in
Type 2-step verification code and press [Return]:
[youtube] Submitting TFA code
WARNING: Unable to submit TFA code: HTTP Error 400: Bad Request
[youtube] Q-xxxx-xxxx: Downloading webpage
[youtube] Q-xxxx-xxxx: Downloading video info webpage …Run Code Online (Sandbox Code Playgroud) 我有一些用户在 Ubuntu 和 Arch Linux systemd 系统上以 linger 模式运行。这意味着,即使用户没有登录系统,他们的计时器也可以运行。作为 root 用户,我如何才能看到所有活动的计时器,包括所有用户的计时器?
systemctl list-timers会给我系统计时器。如果我以用户身份登录,systemctl --user list-timers则会向我提供该用户的计时器。但是,如果我跑步sudo -u anotheruser systemctl --user list-timers,那么我会得到Failed to connect to bus: No such file or directory。