Slow execution time

The command output is very slow on macOS w/ fish shell. Reproduction rate is ~80% for me.

Version: The Fuck 3.18 using Python 2.7.10
Shell: fish, version 2.6.0
OS: macOS 10.12.5
Debug Output:
```
❯ fuck                                                                                333ms
DEBUG: Run with settings: {'alter_history': True,
 'debug': True,
 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
 'exclude_rules': [],
 'history_limit': None,
 'no_colors': False,
 'priority': {},
 'repeat': False,
 'require_confirmation': True,
 'rules': [<const: All rules enabled>],
 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
 'user_dir': PosixPath('/Users/sbennett/.config/thefuck'),
 'wait_command': 3,
 'wait_slow_command': 15}
DEBUG: Execution timed out!
DEBUG: Call: fish -ic "fuck"; with env: {'PYTHONIOENCODING': 'utf-8', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'TERM_PROGRAM_VERSION': '3.0.15', 'LOGNAME': 'sbennett', 'USER': 'sbennett', 'HOME': '/Users/sbennett', 'PATH': '/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin', 'TERM_PROGRAM': 'iTerm.app', 'LANG': 'C', 'THEFUCK_DEBUG': 'true', 'TERM': 'xterm-256color', 'Apple_PubSub_Socket_Render': '/private/tmp/com.apple.launchd.1eq3gwtm7Y/Render', 'COLORFGBG': '15;0', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '2', 'XPC_FLAGS': '0x0', 'ITERM_SESSION_ID': 'w1t1p0:E781FA41-C385-4CCE-A9E0-EBF190B3D246', 'TERM_SESSION_ID': 'w1t1p0:E781FA41-C385-4CCE-A9E0-EBF190B3D246', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.leMomVKppy/Listeners', 'TF_ALIAS': 'fuck', 'XPC_SERVICE_NAME': '0', 'SHELL': '/usr/local/bin/fish', 'ITERM_PROFILE': 'Default', 'LC_ALL': 'C', 'TMPDIR': '/var/folders/0s/c0f2hl495352w24847p7ybwm35h1r_/T/', 'GIT_TRACE': '1', '__CF_USER_TEXT_ENCODING': '0x658070A:0x0:0x0', 'PWD': '/Users/sbennett'}; is slow:  took: 0:00:03.018166
DEBUG: Importing rule: ag_literal; took: 0:00:00.000511
DEBUG: Importing rule: apt_get; took: 0:00:00.000571
DEBUG: Importing rule: apt_get_search; took: 0:00:00.000224
DEBUG: Importing rule: apt_invalid_operation; took: 0:00:00.000715
DEBUG: Importing rule: aws_cli; took: 0:00:00.000235
DEBUG: Importing rule: brew_install; took: 0:00:00.000279
DEBUG: Importing rule: brew_link; took: 0:00:00.000217
DEBUG: Importing rule: brew_uninstall; took: 0:00:00.000276
DEBUG: Importing rule: brew_unknown_command; took: 0:00:00.000105
DEBUG: Importing rule: brew_update_formula; took: 0:00:00.000222
DEBUG: Importing rule: brew_upgrade; took: 0:00:00.000061
DEBUG: Importing rule: cargo; took: 0:00:00.000049
DEBUG: Importing rule: cargo_no_command; took: 0:00:00.000223
DEBUG: Importing rule: cd_correction; took: 0:00:00.000950
DEBUG: Importing rule: cd_mkdir; took: 0:00:00.000342
DEBUG: Importing rule: cd_parent; took: 0:00:00.000050
DEBUG: Importing rule: chmod_x; took: 0:00:00.000058
DEBUG: Importing rule: composer_not_command; took: 0:00:00.001520
DEBUG: Importing rule: cp_omitting_directory; took: 0:00:00.000677
DEBUG: Importing rule: cpp11; took: 0:00:00.000324
DEBUG: Importing rule: dirty_untar; took: 0:00:00.001812
DEBUG: Importing rule: dirty_unzip; took: 0:00:00.000257
DEBUG: Importing rule: django_south_ghost; took: 0:00:00.000066
DEBUG: Importing rule: django_south_merge; took: 0:00:00.000113
DEBUG: Importing rule: docker_not_command; took: 0:00:00.000528
DEBUG: Importing rule: dry; took: 0:00:00.000068
DEBUG: Importing rule: fab_command_not_found; took: 0:00:00.000396
DEBUG: Importing rule: fix_alt_space; took: 0:00:00.000337
DEBUG: Importing rule: fix_file; took: 0:00:00.003110
DEBUG: Importing rule: gem_unknown_command; took: 0:00:00.000506
DEBUG: Importing rule: git_add; took: 0:00:00.000520
DEBUG: Importing rule: git_add_force; took: 0:00:00.000252
DEBUG: Importing rule: git_bisect_usage; took: 0:00:00.000249
DEBUG: Importing rule: git_branch_delete; took: 0:00:00.000232
DEBUG: Importing rule: git_branch_exists; took: 0:00:00.000309
DEBUG: Importing rule: git_branch_list; took: 0:00:00.000236
DEBUG: Importing rule: git_checkout; took: 0:00:00.000254
DEBUG: Importing rule: git_diff_no_index; took: 0:00:00.000238
DEBUG: Importing rule: git_diff_staged; took: 0:00:00.000228
DEBUG: Importing rule: git_fix_stash; took: 0:00:00.000252
DEBUG: Importing rule: git_flag_after_filename; took: 0:00:00.000231
DEBUG: Importing rule: git_help_aliased; took: 0:00:00.000231
DEBUG: Importing rule: git_not_command; took: 0:00:00.000363
DEBUG: Importing rule: git_pull; took: 0:00:00.000242
DEBUG: Importing rule: git_pull_clone; took: 0:00:00.000239
DEBUG: Importing rule: git_pull_uncommitted_changes; took: 0:00:00.000244
DEBUG: Importing rule: git_push; took: 0:00:00.000246
DEBUG: Importing rule: git_push_force; took: 0:00:00.000238
DEBUG: Importing rule: git_push_pull; took: 0:00:00.000221
DEBUG: Importing rule: git_push_without_commits; took: 0:00:00.000343
DEBUG: Importing rule: git_rebase_merge_dir; took: 0:00:00.000250
DEBUG: Importing rule: git_rebase_no_changes; took: 0:00:00.000164
DEBUG: Importing rule: git_remote_seturl_add; took: 0:00:00.000159
DEBUG: Importing rule: git_rm_local_modifications; took: 0:00:00.000241
DEBUG: Importing rule: git_rm_recursive; took: 0:00:00.000493
DEBUG: Importing rule: git_rm_staged; took: 0:00:00.000347
DEBUG: Importing rule: git_stash; took: 0:00:00.000286
DEBUG: Importing rule: git_stash_pop; took: 0:00:00.000281
DEBUG: Importing rule: git_tag_force; took: 0:00:00.000268
DEBUG: Importing rule: git_two_dashes; took: 0:00:00.000239
DEBUG: Importing rule: go_run; took: 0:00:00.000217
DEBUG: Importing rule: gradle_no_task; took: 0:00:00.000566
DEBUG: Importing rule: gradle_wrapper; took: 0:00:00.000227
DEBUG: Importing rule: grep_arguments_order; took: 0:00:00.000235
DEBUG: Importing rule: grep_recursive; took: 0:00:00.000222
DEBUG: Importing rule: grunt_task_not_found; took: 0:00:00.000479
DEBUG: Importing rule: gulp_not_task; took: 0:00:00.000227
DEBUG: Importing rule: has_exists_script; took: 0:00:00.000240
DEBUG: Importing rule: heroku_not_command; took: 0:00:00.000310
DEBUG: Importing rule: history; took: 0:00:00.000067
DEBUG: Importing rule: hostscli; took: 0:00:00.000383
DEBUG: Importing rule: ifconfig_device_not_found; took: 0:00:00.000296
DEBUG: Importing rule: java; took: 0:00:00.000226
DEBUG: Importing rule: javac; took: 0:00:00.000216
DEBUG: Importing rule: lein_not_task; took: 0:00:00.000370
DEBUG: Importing rule: ln_no_hard_link; took: 0:00:00.000237
DEBUG: Importing rule: ln_s_order; took: 0:00:00.000241
DEBUG: Importing rule: ls_all; took: 0:00:00.000208
DEBUG: Importing rule: ls_lah; took: 0:00:00.000347
DEBUG: Importing rule: man; took: 0:00:00.000241
DEBUG: Importing rule: man_no_space; took: 0:00:00.000062
DEBUG: Importing rule: mercurial; took: 0:00:00.000234
DEBUG: Importing rule: missing_space_before_subcommand; took: 0:00:00.000085
DEBUG: Importing rule: mkdir_p; took: 0:00:00.000252
DEBUG: Importing rule: mvn_no_command; took: 0:00:00.000213
DEBUG: Importing rule: mvn_unknown_lifecycle_phase; took: 0:00:00.000260
DEBUG: Importing rule: no_command; took: 0:00:00.000261
DEBUG: Importing rule: no_such_file; took: 0:00:00.000066
DEBUG: Importing rule: npm_missing_script; took: 0:00:00.000593
DEBUG: Importing rule: npm_run_script; took: 0:00:00.000235
DEBUG: Importing rule: npm_wrong_command; took: 0:00:00.000378
DEBUG: Importing rule: open; took: 0:00:00.000605
DEBUG: Importing rule: pacman; took: 0:00:00.000366
DEBUG: Importing rule: pacman_not_found; took: 0:00:00.000111
DEBUG: Importing rule: path_from_history; took: 0:00:00.000099
DEBUG: Importing rule: pip_unknown_command; took: 0:00:00.000315
DEBUG: Importing rule: port_already_in_use; took: 0:00:00.000183
DEBUG: Importing rule: python_command; took: 0:00:00.000261
DEBUG: Importing rule: python_execute; took: 0:00:00.000232
DEBUG: Importing rule: quotation_marks; took: 0:00:00.000052
DEBUG: Importing rule: react_native_command_unrecognized; took: 0:00:00.000224
DEBUG: Importing rule: remove_trailing_cedilla; took: 0:00:00.000051
DEBUG: Importing rule: rm_dir; took: 0:00:00.000242
DEBUG: Importing rule: rm_root; took: 0:00:00.000235
DEBUG: Importing rule: scm_correction; took: 0:00:00.000254
DEBUG: Importing rule: sed_unterminated_s; took: 0:00:00.000222
DEBUG: Importing rule: sl_ls; took: 0:00:00.000052
DEBUG: Importing rule: ssh_known_hosts; took: 0:00:00.000239
DEBUG: Importing rule: sudo; took: 0:00:00.000059
DEBUG: Importing rule: sudo_command_from_user_path; took: 0:00:00.000231
DEBUG: Importing rule: switch_lang; took: 0:00:00.000091
DEBUG: Importing rule: systemctl; took: 0:00:00.000378
DEBUG: Importing rule: test.py; took: 0:00:00.000051
DEBUG: Importing rule: tmux; took: 0:00:00.000212
DEBUG: Importing rule: touch; took: 0:00:00.000223
DEBUG: Importing rule: tsuru_login; took: 0:00:00.000281
DEBUG: Importing rule: tsuru_not_command; took: 0:00:00.000223
DEBUG: Importing rule: unknown_command; took: 0:00:00.000062
DEBUG: Importing rule: vagrant_up; took: 0:00:00.000308
DEBUG: Importing rule: whois; took: 0:00:00.000282
DEBUG: Importing rule: workon_doesnt_exists; took: 0:00:00.000309
DEBUG: Importing rule: yarn_alias; took: 0:00:00.000219
DEBUG: Importing rule: yarn_command_not_found; took: 0:00:00.000494
DEBUG: Importing rule: yarn_command_replaced; took: 0:00:00.000357
DEBUG: Importing rule: yarn_help; took: 0:00:00.000232
DEBUG: Trying rule: dirty_unzip; took: 0:00:00.000568
No fucks given
DEBUG: Total took: 0:00:03.282835
```


Trying rule missing_space_before_subcommand taking so long

<!-- If you have any issue with The Fuck, sorry about that, but we will do what we
can to fix that. Actually, maybe we already have, so first thing to do is to
update The Fuck and see if the bug is still there. -->

<!-- If it is (sorry again), check if the problem has not already been reported and
if not, just open an issue on [GitHub](https://github.com/nvbn/thefuck) with
the following basic information: -->

The output of `thefuck --version` (something like `The Fuck 3.1 using Python
3.5.0 and Bash 4.4.12(1)-release`):

    The Fuck 3.29 using Python 3.8.2 and ZSH 5.8

Your system (Debian 7, ArchLinux, Windows, etc.):

    ubuntu 20.04 on wsl2

How to reproduce the bug:

    env THEFUCK_DEBUG=true thefuck test

The output of The Fuck with `THEFUCK_DEBUG=true` exported (typically execute `export THEFUCK_DEBUG=true` in your shell before The Fuck):

    DEBUG: Trying rule: missing_space_before_subcommand; took: 0:00:08.341279
    No fucks given

Anything else you think is relevant:

I have no idea why this taking so long. anyone else having this problem?

<!-- It's only with enough information that we can do something to fix the problem. -->


Some Unicode error in Ubuntu 14.10

``` bash
$ apt-get update
E: Не удалось открыть файл блокировки /var/lib/apt/lists/lock - open (13: Отказано в доступе)
E: Невозможно заблокировать каталог /var/lib/apt/lists/
E: Не удалось открыть файл блокировки /var/lib/dpkg/lock - open (13: Отказано в доступе)
E: Не удалось выполнить блокировку управляющего каталога (/var/lib/dpkg/); у вас есть права суперпользователя?
$ fuck
Traceback (most recent call last):
  File "/usr/local/bin/thefuck", line 9, in <module>
    load_entry_point('thefuck==1.7', 'console_scripts', 'thefuck')()
  File "/usr/local/lib/python2.7/dist-packages/thefuck/main.py", line 91, in main
    matched_rule = get_matched_rule(command, rules, settings)
  File "/usr/local/lib/python2.7/dist-packages/thefuck/main.py", line 67, in get_matched_rule
    if rule.match(command, settings):
  File "/usr/local/lib/python2.7/dist-packages/thefuck/utils.py", line 41, in wrapper
    return fn(command, settings)
  File "/usr/local/lib/python2.7/dist-packages/thefuck/rules/no_command.py", line 19, in match
    output = _get_output(command, settings)
  File "/usr/local/lib/python2.7/dist-packages/thefuck/rules/no_command.py", line 13, in _get_output
    return result.stderr.read().decode()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
```


Add command options (--version, --help, --update/--upgrade)

And perhaps a manpage too, even if it only says "Please use fuck --help for documentation"


"TypeError: 'module' object is not callable" On any invocation of thefuck

<!-- If you have any issue with The Fuck, sorry about that, but we will do what we
can to fix that. Actually, maybe we already have, so first thing to do is to
update The Fuck and see if the bug is still there. -->

<!-- If it is (sorry again), check if the problem has not already been reported and
if not, just open an issue on [GitHub](https://github.com/nvbn/thefuck) with
the following basic information: -->

The output of `thefuck --version` (something like `The Fuck 3.1 using Python 3.5.0`):

    The Fuck 3.25 using Python 3.6.4+

Your shell and its version (`bash`, `zsh`, *Windows PowerShell*, etc.):

    GNU bash, version 4.4.18(1)-release (x86_64-pc-linux-gnu)

Your system (Debian 7, ArchLinux, Windows, etc.):

    Ubuntu 18.04, Bionic Beaver

How to reproduce the bug:

    Execute any bad command (I tested with `cd..` and `apt install whatever`. Then enter `fuck`.

The output of The Fuck with `THEFUCK_DEBUG=true` exported (typically execute `export THEFUCK_DEBUG=true` in your shell before The Fuck):

```
DEBUG: Run with settings: {'alter_history': True,
 'debug': True,
 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
 'exclude_rules': [],
 'history_limit': None,
 'instant_mode': False,
 'no_colors': False,
 'priority': {},
 'repeat': False,
 'require_confirmation': True,
 'rules': [<const: All rules enabled>],
 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
 'user_dir': PosixPath('/home/thomasokeeffe/.config/thefuck'),
 'wait_command': 3,
 'wait_slow_command': 15}
DEBUG: Received output:
DEBUG: Call: export THEFUCK_DEBUG=true; with env: {'CLUTTER_IM_MODULE': 'xim', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_MENU_PREFIX': 'gnome-', 'LANG': 'C', 'GDM_LANG': 'en_US', 'MANAGERPID': '1425', 'DISPLAY': ':0', 'INVOCATION_ID': '09b52cf5b26f4acf8d4fcf48e96663bb', 'UNITY_DEFAULT_PROFILE': 'unity', 'COMPIZ_CONFIG_PROFILE': 'ubuntu', 'GTK2_MODULES': 'overlay-scrollbar', 'DOOMWADDIR': '/opt/doom', 'GTK_CSD': '0', 'COLORTERM': 'truecolor', 'TF_SHELL_ALIASES': 'alias alert=\'notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e \'\\\'\'s/^\\s*[0-9]\\+\\s*//;s/[;&|]\\s*alert$//\'\\\'\')"\'\nalias dfhack=\'~/df_linux/dfhack\'\nalias dwarff=\'/home/thomasokeeffe/df_linux/df\'\nalias egrep=\'egrep --color=auto\'\nalias fgrep=\'fgrep --color=auto\'\nalias grep=\'grep --color=auto\'\nalias l=\'ls -CF\'\nalias la=\'ls -A\'\nalias ll=\'ls -alF\'\nalias ls=\'ls --color=auto\'\nalias pip=\'pip3\'\nalias python=\'python3\'', 'JAVA_HOME': '/usr/lib/jvm/java-8-oracle/', 'J2SDKDIR': '/usr/lib/jvm/java-9-oracle', 'PYTHONIOENCODING': 'utf-8', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'MANDATORY_PATH': '/usr/share/gconf/unity.mandatory.path', 'XDG_GREETER_DATA_DIR': '/var/lib/lightdm-data/thomasokeeffe', 'DERBY_HOME': '/usr/lib/jvm/java-9-oracle/db', 'USER': 'thomasokeeffe', 'DESKTOP_SESSION': 'unity', 'QT4_IM_MODULE': 'xim', 'TEXTDOMAINDIR': '/usr/share/locale/', 'DEFAULTS_PATH': '/usr/share/gconf/unity.default.path', 'PWD': '/home/thomasokeeffe', 'HOME': '/home/thomasokeeffe', 'JOURNAL_STREAM': '9:28556', 'TEXTDOMAIN': 'im-config', 'J2REDIR': '/usr/lib/jvm/java-9-oracle', 'QT_ACCESSIBILITY': '1', 'XDG_SESSION_TYPE': 'x11', 'COMPIZ_BIN_PATH': '/usr/bin/', 'XDG_DATA_DIRS': '/usr/share/unity:/usr/share/unity:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/var/lib/snapd/desktop', 'XDG_SESSION_DESKTOP': 'unity', 'WINEDEBUG': '-all', 'SSH_AGENT_LAUNCHER': 'gnome-keyring', 'GTK_MODULES': 'gail:atk-bridge:unity-gtk-module', 'GNOME_SESSION_XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'TERM': 'xterm-256color', 'VTE_VERSION': '5002', 'SHELL': '/bin/bash', 'XDG_SEAT_PATH': '/org/freedesktop/DisplayManager/Seat0', 'QT_IM_MODULE': 'ibus', 'XMODIFIERS': '@im=ibus', 'IM_CONFIG_PHASE': '2', 'XDG_CURRENT_DESKTOP': 'Unity:Unity7:ubuntu', 'GPG_AGENT_INFO': '/home/thomasokeeffe/.gnupg/S.gpg-agent:0:1:', 'TF_ALIAS': 'fuck', 'UNITY_HAS_3D_SUPPORT': 'true', 'SHLVL': '2', 'LANGUAGE': 'en_US', 'WINDOWID': '67108870', 'GDMSESSION': 'unity', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'LOGNAME': 'thomasokeeffe', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XAUTHORITY': '/home/thomasokeeffe/.Xauthority', 'TF_HISTORY': '\t python\n\t fuck\n\t source ~/.bashrc\n\t fuck\n\t apt install whatever\n\t fuck\n\t cd..\n\t fuck\n\t fuck --version\n\t export THEFUCK_DEBUG=true', 'XDG_SESSION_PATH': '/org/freedesktop/DisplayManager/Session0', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-unity:/etc/xdg/xdg-unity:/etc/xdg', 'PATH': '/usr/bin/ski:/home/thomasokeeffe/.local/bin:/opt/doom:/usr/bin/python3:/usr/bin/ski:/home/thomasokeeffe/.local/bin:/opt/doom:/usr/bin/python3:/home/thomasokeeffe/.local/share/umake/bin:/home/thomasokeeffe/bin:/home/thomasokeeffe/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-9-oracle/bin:/usr/lib/jvm/java-9-oracle/db/bin', 'THEFUCK_DEBUG': 'true', 'LD_PRELOAD': 'libgtk3-nocsd.so.0', 'SESSION_MANAGER': 'local/Wirecat:@/tmp/.ICE-unix/1738,unix/Wirecat:/tmp/.ICE-unix/1738', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'GTK_IM_MODULE': 'ibus', '_': '/home/thomasokeeffe/.local/bin/thefuck', 'LC_ALL': 'C', 'GIT_TRACE': '1'}; is slow:  took: 0:00:00.001356
DEBUG: Importing rule: ag_literal; took: 0:00:00.000609
DEBUG: Importing rule: apt_get; took: 0:00:00.001838
DEBUG: Total took: 0:00:00.028332
Traceback (most recent call last):
  File "/home/thomasokeeffe/.local/bin/thefuck", line 11, in <module>
    sys.exit(main())
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/entrypoints/main.py", line 25, in main
    fix_command(known_args)
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/entrypoints/fix_command.py", line 41, in fix_command
    corrected_commands = get_corrected_commands(command)
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/corrector.py", line 89, in get_corrected_commands
    corrected for rule in get_rules()
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/corrector.py", line 49, in get_rules
    key=lambda rule: rule.priority)
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/corrector.py", line 17, in get_loaded_rules
    rule = Rule.from_path(path)
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/types.py", line 140, in from_path
    rule_module = load_source(name, str(path))
  File "/usr/lib/python3.6/imp.py", line 172, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 696, in _load
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/thomasokeeffe/.local/lib/python3.6/site-packages/thefuck/rules/apt_get.py", line 8, in <module>
    command_not_found = CommandNotFound()
TypeError: 'module' object is not callable
```


Google assistant: something went wrong when using alarm

<!-- READ THIS FIRST:
- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/
- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases
- Frontend issues should be submitted to the home-assistant-polymer repository: https://github.com/home-assistant/home-assistant-polymer/issues
- iOS issues should be submitted to the home-assistant-iOS repository: https://github.com/home-assistant/home-assistant-iOS/issues
- Do not report issues for integrations if you are using a custom integration: files in <config-dir>/custom_components
- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests
- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!
-->

**Home Assistant release with the issue:**
0.100.0b0

<!--
- Frontend -> Developer tools -> Info
- Or use this command: hass --version
-->

**Last working Home Assistant release (if known):**

**Operating environment (Hass.io/Docker/Windows/etc.):**
hassio

**Integration:**
<!--
Please add the link to the documentation at https://www.home-assistant.io/integrations/ of the integration in question.
-->
nabu casa cloud
google assistant
envisalink

**Description of problem:**
Using the google assistant to arm home/arm away/disarm causes the google assistant to indicate that "something went wrong" although it actually performed the action.
I am using the envisalink component which allows you to specify the code so that it is sent with each service call. I tried with/without the code configuration and it made no difference.

**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**
```yaml

```

**Traceback (if applicable):**
```

```

**Additional information:**


KNX problem with 0.115.0 and 0.115.1

## The problem
KNX integration has changed behavior and don't work fine:
1) it is possible to read the status of a scene only if it is launched from the KNX bus but not if it is launched from the HA
2) KNX climate don't read operation_mode_state_address correctly, when the operation mode is changed it reads the correct state then it is changed to "standby"

## Environment
Home Assistant 0.115.1
Frontend: 20200917.1 - latest
Raspberry 3
arch | armv7l
chassis | embedded
dev | false
docker | true
docker_version | 19.03.11
hassio | true
host_os | HassOS 4.13
installation_type | Home Assistant OS
os_name | Linux
os_version | 4.19.127-v7
python_version | 3.8.5
supervisor | 245
timezone | Europe/Rome
version | 0.115.1
virtualenv | false

- Home Assistant Core release with the issue: 0.115.1
- Last working Home Assistant Core release (if known): 0.113.3
- Operating environment (OS/Container/Supervised/Core): 4.12
- Integration causing this issue: KNX
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/knx/


Somfy blind motors cannot be assigned to a room

### The problem

Somfy motors will return `None` as serial number via the Velux KLF-200:
[Handle devices without serial numbers.](https://github.com/Julius2342/pyvlx/pull/42/commits/d409d66db8732553e928f5dd9d00d458ba638dea)

This serial is usesd as unique id here:
[core/homeassistant/components/velux/__init__.py#L114](https://github.com/home-assistant/core/blob/dev/homeassistant/components/velux/__init__.py#L114)

Could it be reasonable to return the node name instead of `None`?
```python
            if self.node.serial_number:
                return self.node.serial_number
            elif self.node.name:
                return self.node.name
            else:
                return "velux_#" + str(self.node.node_id)
```

### What version of Home Assistant Core has the issue?

2022.8.7

### What was the last working version of Home Assistant Core?

_No response_

### What type of installation are you running?

Home Assistant OS

### Integration causing the issue

Velux

### Link to integration documentation on our website

https://www.home-assistant.io/integrations/velux/

### Diagnostics information

_No response_

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

_No response_

### Additional information

Related issues:
[66262](https://github.com/home-assistant/core/issues/66262)
[35935](https://github.com/home-assistant/core/issues/35935)
[74009](https://github.com/home-assistant/core/issues/74009)


Polling interval for stateless (e.g. Somfy (Oceania)) is not applied in Overkiz

### The problem

Every day I get a "Gateway ID" error in Overkiz error that reads as below. Same problem as [#66606](https://github.com/home-assistant/core/issues/66606)

"Translation Error: The intl string context variable "gateway id" was not provided to the string "Gateway: {gateway id}" Overkiz (by Somfy)".

When I click "Reconfigure" and reenter my password, the problem is corrected. But then it reoccurs in the next day or so.

Looking at the log, it seems like there's some really aggressive polling going on?

### What version of Home Assistant Core has the issue?

core-2022.3.5

### What was the last working version of Home Assistant Core?

_No response_

### What type of installation are you running?

Home Assistant Supervised

### Integration causing the issue

Overkiz (by Somfy)

### Link to integration documentation on our website

https://www.home-assistant.io/integrations/overkiz

### Diagnostics information

[config_entry-overkiz-0bf20335f9aeaa86644cb071861f6ef1.json.txt](https://github.com/home-assistant/core/files/8341651/config_entry-overkiz-0bf20335f9aeaa86644cb071861f6ef1.json.txt)

### Example YAML snippet

_No response_

### Anything in the logs that might be useful for us?

_No response_

### Additional information

_No response_


VRV - NoneType object is not iterable

## Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2021.09.02**
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] The provided URLs do not contain any DRM to the best of my knowledge
- [X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
- [X] I've searched the bugtracker for similar bug reports including closed ones
- [X] I've read bugs section in FAQ

## Verbose log

```
ytdl -F -u PRIVATE -p PRIVATE "https://vrv.co/watch/GRP5G39JR/The-Seven-Heavenly-Virtues:The-Angels-Descend" --verbose
[debug] Command-line config: ['-F', '-u', 'PRIVATE', '-p', 'PRIVATE', 'https://vrv.co/watch/GRP5G39JR/The-Seven-Heavenly-Virtues:The-Angels-Descend', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.09.02 (exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.18363-SP0
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build-www.gyan.dev
[debug] Optional libraries: mutagen, pycryptodome, sqlite, websockets
[debug] Proxy map: {}
[vrv] None: Downloading webpage
[vrv] Downloading Token Credentials JSON metadata
[debug] [vrv] Extracting URL: https://vrv.co/watch/GRP5G39JR/The-Seven-Heavenly-Virtues:The-Angels-Descend
[vrv] GRP5G39JR: Downloading resource path JSON metadata
[vrv] GRP5G39JR: Downloading CMS Signing JSON metadata
[vrv] GRP5G39JR: Downloading object JSON metadata
[vrv] GRP5G39JR: Downloading video JSON metadata
[vrv] GRP5G39JR: Downloading streams JSON metadata
[vrv] GRP5G39JR: Downloading dash-audio-en-US information
[vrv] GRP5G39JR: Downloading hls-audio-en-US information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
ERROR: 'NoneType' object is not iterable
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1214, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1239, in __extract_info
  File "yt_dlp\extractor\common.py", line 584, in extract
  File "yt_dlp\extractor\vrv.py", line 221, in _real_extract
TypeError: 'NoneType' object is not iterable
```

## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->

I've noticed this is happening a little more often but it seems that the entire series for this one does this but then it works just fine on other series. So haven't really noticed where this is hanging up but i used `--write-pages` and got an extra dump file for this one vs. one that actually downloads, which looks like this.

```

    <!DOCTYPE html>

      <link rel="icon" type="image/png" sizes="16x16" href="https://static.vrv.co/vrvweb/assets/img/favicons/favicon-16x16.png"/><link rel="icon" type="image/png" sizes="32x32" href="https://static.vrv.co/vrvweb/assets/img/favicons/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="96x96" href="https://static.vrv.co/vrvweb/assets/img/favicons/favicon-96x96.png"/><link rel="apple-touch-icon" sizes="57x57" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-57x57.png"/><link rel="apple-touch-icon" sizes="60x60" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-60x60.png"/><link rel="apple-touch-icon" sizes="72x72" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-72x72.png"/><link rel="apple-touch-icon" sizes="76x76" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-76x76.png"/><link rel="apple-touch-icon" sizes="114x114" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-114x114.png"/><link rel="apple-touch-icon" sizes="120x120" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-120x120.png"/><link rel="apple-touch-icon" sizes="144x144" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-144x144.png"/><link rel="apple-touch-icon" sizes="152x152" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-152x152.png"/><link rel="apple-touch-icon" sizes="180x180" href="https://static.vrv.co/vrvweb/assets/img/favicons/apple-touch-icon-180x180.png"/><meta charSet="UTF-8"/><meta name="viewport" content="width=device-width"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=0"/><meta name="theme-color" content="#1b1a26"/><meta name="apple-itunes-app" content="app-id=1165206979"/><link rel="manifest" href="https://static.vrv.co/vrvweb/assets/manifest.json"/><meta data-react-helmet="true" name="description" content="VRV is the home of your favorite channels, events, and communities celebrating anime, animation, video games, comics, science fiction, fantasy, and tech."/><meta data-react-helmet="true" name="keywords" content="Japanese Animation, Role Playing Games, Channel Frederator, Cartoon Hangover, Bravest Warriors, Naruto Shippuden, Adult Animation, Science Fiction, Hunter x Hunter, Japanese Anime, Bee & Puppycat, Graphic Novel, Rooster Teeth, Board Games, Video Games, Crunchyroll, Titansgrave, Crunch Time, Otter Media, Comic Book, Super Hero, Frederator, Lazer Team, Animation, One Piece, Tabletop, Ellation, Fantasy, Chernin, Manhua, Sci-Fi, Gaming, Comics, Naruto, Fandom, Stream, Online, Anime, Manga, Gamer, Otaku, Watch, Video, RWBY, Xbox, Fans, Nerd, Geek, VRV"/><link data-react-helmet="true" rel="canonical" href="https://vrv.co"/><title data-react-helmet="true">VRV - Home of Your Favorite Channels</title><link rel="stylesheet" type="text/css" href="https://static.vrv.co/vrvweb/build/main.59a6f4611b0080f805eb.css"/>

<button class="dismiss" type="button"><svg class="vrv-interaction-icon close" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="close-svg"><polygon points="18.67 1.33 17.33 1.33 10 8.67 2.67 1.33 1.33 1.33 1.33 2.67 8.67 10 1.33 17.33 1.33 18.67 2.67 18.67 10 11.33 17.33 18.67 18.67 18.67 18.67 17.33 11.33 10 18.67 2.67 18.67 1.33"></polygon></svg>Close</button>

<svg class="icon-home" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" data-t="home-svg"><polygon points="8.009 0.002 0.009 4.802 0.009 16.002 5.875 16.002 5.875 10.669 10.142 10.669 10.142 16.002 16.009 16.002 16.009 4.802 8.009 0.002"></polygon></svg>

Vrv Home

<svg class="arrows-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 16" data-t="arrows-up-down-svg"><path d="M6,0l5.6,5.6H.4ZM6,16,.4,10.4H11.6Z"></path></svg>

<svg class="home-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" data-t="home-svg"><polygon points="8.009 0.002 0.009 4.802 0.009 16.002 5.875 16.002 5.875 10.669 10.142 10.669 10.142 16.002 16.009 16.002 16.009 4.802 8.009 0.002"></polygon></svg>

Vrv Home

All of VRV

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

Channels

Cartoon Hangover

Indie Cartoons

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

Crunchyroll

World's Largest Anime Collection

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

HIDIVE

Stream Anime & Stuff

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

Mondo

Extreme animation

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

Rooster Teeth

 Original online hits

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

VRV Select

Discover VRV's next big thing

<svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>

<svg class="logo-full hidden-mobile" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 32" data-t="vrv-logo-svg"><polygon class="group-three" points="23.16 20.81 13.38 26.59 3.47 20.81 3.47 12.19 23.16 12.19 23.16 20.81"></polygon><g><polygon class="group-two" points="113.04 3.6 105.77 18.97 98.5 3.6 91.53 3.6 103.27 28.4 108.27 28.4 120 3.6 113.04 3.6"></polygon><path class="group-two" d="M86.93,19A8.78,8.78,0,0,0,81.32,3.6H63.92V28.4H70.2V23l10.35-1.68,2.82,7.07h6.77l-3.61-9Zm-5.7-4.21v0l-11,1.8V10H81.32a2.39,2.39,0,0,1,2.37,2.4C83.69,13.54,83.13,14.48,81.23,14.79Z"></path><polygon class="group-two" points="45.92 18.97 38.65 3.6 31.69 3.6 43.42 28.4 48.42 28.4 60.16 3.6 53.2 3.6 45.92 18.97"></polygon><path class="group-one" d="M0,8.19V23.81l13.37,7.81,13.37-7.81V8.19L13.37.38ZM22.11,20.91,13.37,26,4.64,20.9V14.44l8.73,5.1,8.73-5.1Z"></path></g></svg><svg class="logo-short hidden-desktop c-svg-vrv-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 32" data-t="vrv-icon-svg"><polygon class="logo-arrow" fill="currentColor" points="23.16 20.81 13.38 26.59 3.47 20.81 3.47 12.19 23.16 12.19 23.16 20.81"></polygon><path class="logo-background" d="M13.37.38,0,8.19V23.81l13.37,7.81,13.37-7.81V8.19ZM22.1,20.92,13.37,26,4.64,20.9V14.44l8.73,5.1,8.73-5.1Z"></path></svg>

<svg class="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" data-t="premium-svg"><path d="M7.17,0L2.4,4.8l0.8,4L1.6,11.2l1.6,2.4h4l1.2-1.42L9.6,13.6h4.8l1.2-1.42,1.2,1.42h4l1.6-2.4L20.8,8.8l0.8-4L16.72,0H7.17ZM8,19.2l1.6,2.4,7.2-4,1.6-2.4H15.31Zm-2.4-4,1.72,2.7,5-2.7H5.6Zm4.78,7.52L11.2,24h1.6l2.4-4Z"></path></svg>Try Free

<svg class="header-svg-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" data-t="watchlist-svg"><path d="M9.6,12,16,15.2,9.6,18.4ZM3.2,21.6H20.8V8.8H3.2ZM6.4,4H17.6V2.4H6.4ZM4.8,7.2H19.2V5.6H4.8Z"></path></svg>

<svg class="header-svg-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="search-svg"><path d="M2,10.666V5.333L5.333,2h5.333L14,5.333v5.333L10.667,14H5.333ZM4.364,0,0,4.363v7.273L4.364,16h7.273l1.757-1.757L18,20h2V18l-5.757-4.606L16,11.637V4.363L11.637,0Z"></path></svg>

<svg class="arrow-down-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" data-t="down-arrow-svg"><polygon points="6 9.5 12 2.5 0 2.5 6 9.5"></polygon></svg>

<svg class="info-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" data-t="info-svg"><g><polygon points="11.2 17.6 12 17.6 12.8 17.6 12.8 9.6 11.2 9.6 11.2 17.6"></polygon><rect x="11.2" y="6.4" width="1.6" height="1.6"></rect></g><path d="M12,0A12,12,0,1,0,24,12,12,12,0,0,0,12,0Zm0,22.4A10.4,10.4,0,1,1,22.4,12,10.4,10.4,0,0,1,12,22.4Z"></path></svg>
What is Vrv?Vrv

<svg class="viewall-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>View All<svg class="right-arrow" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 20" data-t="right-arrow-svg"><path d="M2 .667L11.333 10 2 19.332H.667V18l8-8-8-8V.667"></path></svg>

Watch The Best Stuff Ever

The best in anime, gaming, tech, cartoons, + more! Create a free account to keep watching across our apps, build a watchlist, or go premium to sync & watch videos offline.
What's Available on VRV? View All

Create Account

Create My Free Account

Email

Password

<button class="toggle-password-visibility" tabindex="-1" title="Click to display your password as you type">Show</button>

Create Account

Existing user? <button class="button-link">Sign In</button>

By creating an account you’re agreeing to our Terms & Privacy Policy, and you confirm that you are at least 16 years of age.

Crunchyroll

to series

Miss Kobayashi's Dragon Maid

SeriesSubtitled

Miss Kobayashi is your average office worker who lives a boring life, alone in her small apartment–until she saves the life of a female dragon in distress. The dragon, named Tohru, has the ability to magically transform into an adorable human girl (albeit with horns and a long tail!), who will do anything to pay off her debt of gratitude, whether Miss Kobayashi likes it or not. With a very persistent and amorous dragon as a roommate, nothing comes easy, and Miss Kobayashi’s normal life is about to go off the deep end!

<svg class="" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" data-t="play-arrow-svg"><polygon points="0 0 0 20 20 10"></polygon></svg>Start Watching

Most Popular

<svg class="c-svg-no-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" data-t="no-image-svg"><path d="M0,4V26H30V4ZM28,24H2V6H28Z"></path><polygon points="26 19 23 16 19 20 10 11 4 17 4 22 26 22 26 19"></polygon><rect x="17.586" y="10.586" width="2.828" height="2.828" transform="translate(-2.92 16.95) rotate(-45)"></rect></svg>

<svg class="c-svg-no-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" data-t="no-image-svg"><path d="M0,4V26H30V4ZM28,24H2V6H28Z"></path><polygon points="26 19 23 16 19 20 10 11 4 17 4 22 26 22 26 19"></polygon><rect x="17.586" y="10.586" width="2.828" height="2.828" transform="translate(-2.92 16.95) rotate(-45)"></rect></svg>

TSUKIMICHI -Moonlit Fantasy-

<svg class="c-svg-no-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" data-t="no-image-svg"><path d="M0,4V26H30V4ZM28,24H2V6H28Z"></path><polygon points="26 19 23 16 19 20 10 11 4 17 4 22 26 22 26 19"></polygon><rect x="17.586" y="10.586" width="2.828" height="2.828" transform="translate(-2.92 16.95) rotate(-45)"></rect></svg>

<svg class="c-svg-no-image" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" data-t="no-image-svg"><path d="M0,4V26H30V4ZM28,24H2V6H28Z"></path><polygon points="26 19 23 16 19 20 10 11 4 17 4 22 26 22 26 19"></polygon><rect x="17.586" y="10.586" width="2.828" height="2.828" transform="translate(-2.92 16.95) rotate(-45)"></rect></svg>

You’ve reached the end of the feed.
<svg class="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" data-t="view-all-svg"><path d="M6,9V4H9V9Zm5,0V4h3V9ZM6,16V11H9v5Zm5,0V11h3v5Z"></path></svg>View All

<svg class="c-circle-icon__element c-svg-vrv-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 32" data-t="vrv-icon-svg"><polygon class="logo-arrow" fill="currentColor" points="23.16 20.81 13.38 26.59 3.47 20.81 3.47 12.19 23.16 12.19 23.16 20.81"></polygon><path class="logo-background" d="M13.37.38,0,8.19V23.81l13.37,7.81,13.37-7.81V8.19ZM22.1,20.92,13.37,26,4.64,20.9V14.44l8.73,5.1,8.73-5.1Z"></path></svg>

VRV Premium

Everything on VRV, Ad-free, $9.99 +tax/mo

Get newest episodes, exclusive series, and ad-free viewing to everything on VRV such as HarmonQuest, Dragon Ball Super, Bravest Warriors, and more!
<svg class="" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" data-t="premium-svg"><path d="M7.17,0L2.4,4.8l0.8,4L1.6,11.2l1.6,2.4h4l1.2-1.42L9.6,13.6h4.8l1.2-1.42,1.2,1.42h4l1.6-2.4L20.8,8.8l0.8-4L16.72,0H7.17ZM8,19.2l1.6,2.4,7.2-4,1.6-2.4H15.31Zm-2.4-4,1.72,2.7,5-2.7H5.6Zm4.78,7.52L11.2,24h1.6l2.4-4Z"></path></svg>30-DAY FREE TRIAL
<svg class="triangle" viewBox="0 0 1920 60" preserveAspectRatio="none"><polygon points="0,0 1920,60 0,60"></polygon></svg>

© Ellation, LLC
<svg class="c-svg-made-by-crunchyroll" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60" data-t="made-by-crunchyroll"><path class="circle" d="M30.183,10.287a19.714,19.714,0,1,0,19.531,19.9,19.714,19.714,0,0,0-19.531-19.9"></path><g class="ring"><path d="M29.994,1.71h.268a28.29,28.29,0,0,1-.256,56.58h-.268a28.29,28.29,0,0,1,.256-56.58m0-1.71a30,30,0,0,0-.272,60h.284a30,30,0,0,0,.272-60l-.284,0"></path></g><g class="text"><polygon points="18.646 11.488 17.985 12.001 16.045 9.494 16.916 12.316 16.217 12.857 13.719 11.325 15.644 13.811 14.983 14.324 12.414 11.004 13.383 10.254 15.98 11.826 15.107 8.919 16.076 8.168 18.646 11.488"></polygon><path d="M23.9,9.17l-.829.335-.707-.77-1.661.671.027,1.045-.811.327-.058-4.509.946-.382Zm-3.219-.586,1.127-.456L20.641,6.85Z"></path><path d="M26.539,4.424a2.016,2.016,0,0,1,2.434,1.8,2.015,2.015,0,0,1-1.887,2.364l-1.715.226-.547-4.161Zm-.784.892.344,2.61.877-.115a1.208,1.208,0,0,0,1.131-1.477A1.2,1.2,0,0,0,26.632,5.2Z"></path><polygon points="34.068 8.689 30.952 8.346 31.412 4.175 34.505 4.517 34.42 5.279 32.159 5.029 32.057 5.954 34.214 6.191 34.13 6.953 31.973 6.715 31.868 7.674 34.152 7.926 34.068 8.689"></polygon><path d="M41.7,6.933c.873.435,1.262,1.032.906,1.749a.935.935,0,0,1-.939.526,1.007,1.007,0,0,1,.206,1.153c-.358.721-1.047.821-1.947.373L38.3,9.926l1.866-3.755Zm-1.877,1.8-.447.9.838.42c.413.2.721.237.9-.122s-.037-.576-.45-.783ZM40.581,7.2l-.436.877.768.381c.372.186.7.252.882-.113s-.079-.581-.449-.765Z"></path><polygon points="45.24 12.314 44.188 13.59 43.544 13.058 44.598 11.78 44.965 8.797 45.723 9.422 45.405 11.465 47.35 10.762 48.084 11.368 45.24 12.314"></polygon><path d="M9.964,40.884,9.275,40.4a1.251,1.251,0,0,0,.1-1.224A1.3,1.3,0,0,0,7.6,38.5a1.325,1.325,0,0,0,.222,2.535l-.181.821A2.086,2.086,0,0,1,6.123,40.58,2.107,2.107,0,0,1,7.252,37.7a2.107,2.107,0,0,1,2.867,1.164,2.038,2.038,0,0,1-.155,2.022"></path><path d="M12.661,43.309c.6.8.541,1.519-.1,2a1.249,1.249,0,0,1-1.764-.291l-.577,2.044-.607-.813.609-1.983-.147-.2-1.341,1-.5-.672,3.37-2.512Zm-1.18-.292-.825.616.552.741c.273.367.549.456.833.244s.258-.5-.007-.859Z"></path><path d="M15.8,49.946a1.64,1.64,0,0,1-2.517.178,1.64,1.64,0,0,1-.258-2.511l1.626-1.935.644.541-1.6,1.9a.885.885,0,0,0,.1,1.387.885.885,0,0,0,1.383-.138l1.6-1.9.644.541Z"></path><polygon points="20.416 54.368 19.708 54.026 19.006 50.574 17.786 53.101 17.032 52.737 18.856 48.953 19.561 49.292 20.264 52.746 21.483 50.219 22.24 50.583 20.416 54.368"></polygon><path d="M27.468,52.761l-.791.288a1.25,1.25,0,0,0-.947-.781,1.371,1.371,0,1,0,.64,2.341l.572.616a2.189,2.189,0,1,1-1.047-3.743,2.035,2.035,0,0,1,1.574,1.279"></path><polygon points="30.117 53.668 32.135 53.575 32.056 51.887 32.892 51.848 33.084 56.04 32.25 56.079 32.17 54.354 30.152 54.446 30.232 56.172 29.397 56.21 29.204 52.018 30.039 51.979 30.117 53.668"></polygon><polygon points="37.285 53.424 37.743 55.016 36.939 55.248 36.479 53.652 34.221 51.656 35.167 51.384 36.676 52.805 37.198 50.799 38.116 50.536 37.285 53.424"></polygon><path d="M40.9,49.107c.874-.487,1.573-.333,1.964.369a1.246,1.246,0,0,1-.523,1.706l1.947.842-.885.492-1.88-.864-.214.119.81,1.459-.729.407-2.04-3.668Zm-.446,1.129.5.9.807-.449c.4-.221.524-.483.352-.791s-.464-.322-.851-.106Z"></path><path d="M48.044,46.12a2.206,2.206,0,1,1-3.1-.091,2.117,2.117,0,0,1,3.1.091m-2.591,2.41a1.332,1.332,0,1,0,.04-1.913,1.3,1.3,0,0,0-.04,1.913"></path><polygon points="52.745 43.083 51.056 45.626 47.562 43.306 48.024 42.61 50.867 44.498 52.093 42.65 52.745 43.083"></polygon><polygon points="54.945 38.166 53.804 40.999 49.912 39.432 50.224 38.656 53.391 39.931 54.219 37.873 54.945 38.166"></polygon><polygon points="4.044 26.987 5.118 28.189 3.916 29.263 4.722 30.166 5.718 30.222 7.822 28.342 5.942 26.237 4.946 26.181 4.044 26.987"></polygon><polygon points="6.751 18.682 7.255 20.214 5.723 20.718 6.102 21.867 6.992 22.316 9.673 21.433 8.791 18.753 7.899 18.304 6.751 18.682"></polygon><polygon points="55.072 26.181 54.076 26.236 52.195 28.342 54.3 30.222 55.296 30.166 56.102 29.264 54.899 28.189 55.973 26.986 55.072 26.181"></polygon><polygon points="52.118 18.304 51.227 18.753 50.344 21.434 53.025 22.317 53.916 21.867 54.294 20.718 52.762 20.214 53.267 18.682 52.118 18.304"></polygon></g><path class="logo" d="M42.908,30.956a11.3,11.3,0,1,0-12.073,11.96c-.289.017-.58.024-.873.022A12.858,12.858,0,1,1,42.937,30.2C42.934,30.454,42.926,30.706,42.908,30.956ZM32.2,41.338a9.036,9.036,0,1,1,4.359-17,4.113,4.113,0,1,0,4.622,6.387A9.038,9.038,0,0,1,32.2,41.338Z"></path></svg>

Channels

Cartoon Hangover

Crunchyroll

HIDIVE

Mondo

Rooster Teeth

VRV Select

VRV Socials

<svg class="vrv-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" data-t="youtube-svg"><path d="M15.666,4.124A2.01,2.01,0,0,0,14.251,2.7,47.511,47.511,0,0,0,8,2.364,47.511,47.511,0,0,0,1.749,2.7,2.01,2.01,0,0,0,.334,4.124,21.09,21.09,0,0,0,0,8a21.09,21.09,0,0,0,.334,3.876A2.01,2.01,0,0,0,1.749,13.3,47.509,47.509,0,0,0,8,13.636a47.509,47.509,0,0,0,6.251-.337,2.01,2.01,0,0,0,1.415-1.424A21.09,21.09,0,0,0,16,8,21.09,21.09,0,0,0,15.666,4.124Zm-9.3,6.255V5.621L10.545,8Z"></path></svg>Youtube

<svg class="vrv-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" data-t="facebook-svg"><path d="M15.1169,0 L0.8829,0 C0.3949,0 -0.0001,0.395 -0.0001,0.883 L-0.0001,15.117 C-0.0001,15.605 0.3949,16 0.8829,16 L8.5459,16 L8.5459,9.804 L6.4609,9.804 L6.4609,7.389 L8.5459,7.389 L8.5459,5.608 C8.5459,3.542 9.8079,2.417 11.6519,2.417 C12.5349,2.417 13.2939,2.482 13.5149,2.512 L13.5149,4.671 L12.2369,4.672 C11.2339,4.672 11.0399,5.148 11.0399,5.848 L11.0399,7.389 L13.4309,7.389 L13.1199,9.804 L11.0399,9.804 L11.0399,16 L15.1169,16 C15.6049,16 15.9999,15.605 15.9999,15.117 L15.9999,0.883 C15.9999,0.395 15.6049,0 15.1169,0"></path></svg>Facebook

<svg class="vrv-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" data-t="twitter-svg"><path d="M5,14.5a9.28,9.28,0,0,0,9.34-9.34c0-.14,0-0.28,0-0.42A6.68,6.68,0,0,0,16,3a6.55,6.55,0,0,1-1.89.52,3.29,3.29,0,0,0,1.44-1.82,6.58,6.58,0,0,1-2.08.8,3.29,3.29,0,0,0-5.59,3A9.32,9.32,0,0,1,1.11,2.1a3.29,3.29,0,0,0,1,4.38A3.26,3.26,0,0,1,.64,6.07s0,0,0,0A3.28,3.28,0,0,0,3.28,9.33a3.28,3.28,0,0,1-1.48.06,3.29,3.29,0,0,0,3.07,2.28A6.59,6.59,0,0,1,.78,13.07,6.68,6.68,0,0,1,0,13,9.29,9.29,0,0,0,5,14.5"></path></svg>Twitter

<svg class="vrv-social-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" data-t="instagram-svg"><path d="M8,1.44c2.14,0,2.39,0,3.23,0a4.43,4.43,0,0,1,1.49.28,2.48,2.48,0,0,1,.92.6,2.48,2.48,0,0,1,.6.92,4.43,4.43,0,0,1,.28,1.49c0,0.84,0,1.1,0,3.23s0,2.39,0,3.23a4.43,4.43,0,0,1-.28,1.49,2.65,2.65,0,0,1-1.52,1.52,4.43,4.43,0,0,1-1.49.28c-0.84,0-1.1,0-3.23,0s-2.39,0-3.23,0a4.43,4.43,0,0,1-1.49-.28,2.48,2.48,0,0,1-.92-0.6,2.48,2.48,0,0,1-.6-0.92,4.43,4.43,0,0,1-.28-1.49c0-.84,0-1.1,0-3.23s0-2.39,0-3.23a4.43,4.43,0,0,1,.28-1.49,2.48,2.48,0,0,1,.6-0.92,2.48,2.48,0,0,1,.92-0.6,4.43,4.43,0,0,1,1.49-.28c0.84,0,1.1,0,3.23,0M8,0C5.83,0,5.55,0,4.7,0A5.87,5.87,0,0,0,2.76.42a3.92,3.92,0,0,0-1.42.92A3.92,3.92,0,0,0,.42,2.76,5.87,5.87,0,0,0,0,4.7C0,5.55,0,5.83,0,8s0,2.45,0,3.3a5.87,5.87,0,0,0,.37,1.94,3.92,3.92,0,0,0,.92,1.42,3.92,3.92,0,0,0,1.42.92A5.87,5.87,0,0,0,4.7,16c0.85,0,1.13,0,3.3,0s2.45,0,3.3,0a5.87,5.87,0,0,0,1.94-.37,4.09,4.09,0,0,0,2.34-2.34A5.87,5.87,0,0,0,16,11.3c0-.85,0-1.13,0-3.3s0-2.45,0-3.3a5.87,5.87,0,0,0-.37-1.94,3.92,3.92,0,0,0-.92-1.42A3.92,3.92,0,0,0,13.24.42,5.87,5.87,0,0,0,11.3,0C10.45,0,10.17,0,8,0H8Z"></path><path d="M8,3.89A4.11,4.11,0,1,0,12.11,8,4.11,4.11,0,0,0,8,3.89Zm0,6.77A2.67,2.67,0,1,1,10.67,8,2.67,2.67,0,0,1,8,10.67Z"></path><circle cx="12.27" cy="3.73" r="0.96"></circle></svg>Instagram

More Stuff

Help/FAQ

Terms of Use

Privacy Policy

Do Not Sell My Personal Information

Press Inquiries

Get The Apps

Add Gift Card

Jobs

Account

Create Account

Sign In

Create Account

Sign In

Ancient browser detected!

Some old stuff is cool. Stuff like Stonehenge, ancient remains,
              and that picture of your dad next to that sweet car. What's not
              cool? Old browsers. VRV doesn't work on old browsers, so it looks
              like it's time for an upgrade. Here are some we officially
              support.

Google Chrome

Version 55+

GET IT

Mozilla Firefox

Version 60+

GET IT

Microsoft Edge

Version 15+

GET IT

Apple Safari

Version 10+

GET IT

  ```

Not sure itf it is helpful but that's all I got for now.


Tele5 has an extraction error

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2022.03.08.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Germany

### Description

trying to download the curernt andromenda series:
`yt-dlp -F https://tele5.de/mediathek/gene-roddenberrys-andromeda/`
`[Tele5] gene-roddenberrys-andromeda: Downloading webpage`
`ERROR: gene-roddenberrys-andromeda: An extractor error has occurred. (caused by KeyError('assetid')); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest ver`

### Verbose log

```shell
ERROR: gene-roddenberrys-andromeda: An extractor error has occurred. (caused by KeyError('assetid')); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/bin/yt-dlp/yt_dlp/extractor/common.py", line 617, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/yt-dlp/yt_dlp/extractor/tele5.py", line 81, in _real_extract
    asset_id, country, realm = (player_info[x] for x in ('assetid', 'locale', 'realm', ))
  File "/usr/bin/yt-dlp/yt_dlp/extractor/tele5.py", line 81, in <genexpr>
    asset_id, country, realm = (player_info[x] for x in ('assetid', 'locale', 'realm', ))
KeyError: 'assetid'
```


Add Filmarkivet.se as a Supported Site

### Checklist

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running yt-dlp version **2022.02.04**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that none of provided URLs [violate any copyrights](https://github.com/ytdl-org/youtube-dl#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and am willing to share it if required

### Region

United States

### Example URLs

https://www.filmarkivet.se/movies/paris-d-moll/

### Description

Please add Filmarkivet.se as a supported site. I already watched the YouTube video "The Secret Logos Of SF Studios (1919 - 1999)" by CCGFilms, which has some SF Studios logos. I need to capture its logos.

### Verbose log

```shell
[debug] Command-line config: ['-v', 'https://www.filmarkivet.se/movies/paris-d-moll/']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8 (No ANSI), err utf-8 (No ANSI), pref cp1252
[debug] yt-dlp version 2022.02.04 [c1653e9] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-105662-ge534d98af3-20220217 (setts), ffprobe N-105038-g30322ebe3c-sherpya
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://www.filmarkivet.se/movies/paris-d-moll/
[generic] paris-d-moll: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] paris-d-moll: Downloading webpage
WARNING: [generic] URL could be a direct video link, returning it as such.
[debug] Default format spec: bestvideo*+bestaudio/best
[info] paris-d-moll: Downloading 1 format(s): 0
[debug] Invoking downloader on "https://www.filmarkivet.se/movies/paris-d-moll/"
[download] Destination: paris-d-moll [paris-d-moll].unknown_video
[download] 100% of 373.64KiB in 00:01
```


[VLIVE.TV] Extract release timestamp

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I remove or skip any mandatory\* field

### Checklist

- [X] I'm asking a question and **not** reporting a bug or requesting a feature
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I'm running yt-dlp version **2022.10.04** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar questions **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Please make sure the question is worded well enough to be understood

Is there a way to change `upload_date` from UTC to a specific GMT? This video (https://www.vlive.tv/post/1-18318601) was posted on Nov. 28, 2018 KST (Korean Standard Time) but yt-dlp downloads it as 20181127.

I know you can prefer not to use UTC for YouTube videos but don't know how for other sites.

Here is my command:
`!yt-dlp -vU --embed-metadata --embed-thumbnail --merge-output-format "mkv/mp4" --write-subs --sub-langs all,-live_chat --embed-subs --compat-options no-keep-subs "https://www.vlive.tv/post/1-18318601" -o "%(upload_date)s - %(creator)s - %(title)s.%(ext)s" -P "/content/drive/Shareddrives/VLIVE" -P temp:"/content/drive/Shareddrives/VLIVE/!temp"`

Thanks!

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
[debug] Command-line config: ['-vU', '--embed-metadata', '--embed-thumbnail', '--merge-output-format', 'mkv/mp4', '--write-subs', '--sub-langs', 'all,-live_chat', '--embed-subs', '--compat-options', 'no-keep-subs', 'https://www.vlive.tv/post/1-18318601', '-o', '%(upload_date)s - %(creator)s - %(title)s.%(ext)s', '-P', '/content/drive/Shareddrives/VLIVE', '-P', 'temp:/content/drive/Shareddrives/VLIVE/!temp']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out UTF-8, error UTF-8, screen UTF-8
[debug] yt-dlp version 2022.10.04 [4e0511f27]
[debug] Lazy loading extractors is disabled
[debug] Compatibility options: no-keep-subs
[debug] Python 3.7.15 (CPython 64bit) - Linux-5.10.133+-x86_64-with-Ubuntu-18.04-bionic (glibc 2.26)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 3.4.11, ffprobe 3.4.11
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1706 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [vlive:post] Extracting URL: https://www.vlive.tv/post/1-18318601
[vlive:post] 1-18318601: Downloading post JSON metadata
[debug] [vlive] Extracting URL: http://www.vlive.tv/video/101216
[vlive] 101216: Downloading officialVideoPost JSON metadata
[vlive] 101216: Downloading inkey JSON metadata
[vlive] 101216: Downloading JSON metadata
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] 101216: Downloading subtitles: en_US, es_PA, es_ES, fr_FR, in_ID, pt_PT, vi_VN, jp, zh_CN, ko_KR
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 101216: Downloading 1 format(s): avc1_720P
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.en_US.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_12_06_3/aa339b4a-f89e-11e8-bc80-3ca82a21f531-1544022097899_en_US_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.en_US.vtt
[download] 100% of   55.30KiB in 00:00:00 at 154.65KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_PA.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_11_28_2/3b1a6fdd-f30e-11e8-8111-3ca82a220799-1543410308156_es_PA_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_PA.vtt
[download] 100% of   24.65KiB in 00:00:00 at 317.51KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_ES.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/2020_11_16/a3003ab1-27e4-11eb-9a2e-0050569c085d-1605514850566_es_ES_fan.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_ES.vtt
[download] 100% of   59.17KiB in 00:00:00 at 197.86KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.fr_FR.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/2020_12_14/8d2ea1db-3dcf-11eb-9b2a-0050569c085d-1607924720110_fr_FR_fan.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.fr_FR.vtt
[download] 100% of   55.22KiB in 00:00:00 at 528.98KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.in_ID.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_11_28_2/3ace9972-f30e-11e8-8606-3ca82a22c1e9-1543410307659_in_ID_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.in_ID.vtt
[download] 100% of   24.42KiB in 00:00:00 at 157.16KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.pt_PT.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_11_28_2/3b090ad1-f30e-11e8-9c04-3ca82a225339-1543410308041_pt_PT_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.pt_PT.vtt
[download] 100% of   25.00KiB in 00:00:00 at 267.88KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.vi_VN.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_12_07_4/dac66573-f9fc-11e8-98b0-3ca82a22d7a5-1544172503245_vi_VN_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.vi_VN.vtt
[download] 100% of   64.32KiB in 00:00:00 at 555.77KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.jp.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_11_28_2/3aee2f6b-f30e-11e8-bb16-3ca82a21e509-1543410307868_jp_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.jp.vtt
[download] 100% of   23.29KiB in 00:00:00 at 258.58KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.zh_CN.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_12_10_4/077db2f1-fc58-11e8-8818-3ca82a22c1e9-1544431564794_zh_CN_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.zh_CN.vtt
[download] 100% of   52.85KiB in 00:00:00 at 581.89KiB/s
[info] Writing video subtitles to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.ko_KR.vtt
[debug] Invoking http downloader on "http://resources-rmcnmv.pstatic.net/globalv/c/read/v2/VOD_ALPHA/global_v_2018_12_06_2/cc2e3feb-f921-11e8-8285-3ca82a2243c9-1544078418977_ko_KR_cp.vtt"
[download] Destination: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.ko_KR.vtt
[download] 100% of   64.29KiB in 00:00:00 at 450.71KiB/s
[info] Downloading video thumbnail 1 ...
[info] Writing video thumbnail 1 to: /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.png
[download] /content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.mp4 has already been downloaded
[EmbedSubtitle] Embedding subtitles in "/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.mp4' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.en_US.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_PA.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_ES.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.fr_FR.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.in_ID.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.pt_PT.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.vi_VN.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.jp.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.zh_CN.vtt' -i 'file:/content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.ko_KR.vtt' -map 0 -dn -ignore_unknown -c copy -c:s mov_text -map -0:s -map 1:0 -metadata:s:s:0 language=eng -map 2:0 -metadata:s:s:1 language=spa -map 3:0 -metadata:s:s:2 language=spa -map 4:0 -metadata:s:s:3 language=fra -map 5:0 -metadata:s:s:4 language=ind -map 6:0 -metadata:s:s:5 language=por -map 7:0 -metadata:s:s:6 language=vie -map 8:0 -metadata:s:s:7 language=jp -map 9:0 -metadata:s:s:8 language=zho -map 10:0 -metadata:s:s:9 language=kor -movflags +faststart 'file:/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.temp.mp4'
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.en_US.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.fr_FR.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_PA.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.jp.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.ko_KR.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.zh_CN.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.in_ID.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.pt_PT.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.vi_VN.vtt (pass -k to keep)
Deleting original file /content/drive/Shareddrives/VLIVE/!temp/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.es_ES.vtt (pass -k to keep)
[Metadata] Adding metadata to "/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.mp4' -map 0 -dn -ignore_unknown -c copy -write_id3v1 1 -metadata 'title=♥도요일♥ 12/1 도다제 녹음현장 ! with 도영' -metadata date=20181127 -metadata purl=http://www.vlive.tv/video/101216 -metadata comment=http://www.vlive.tv/video/101216 -metadata 'artist=NCT의 night night!' -movflags +faststart 'file:/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.temp.mp4'
[EmbedThumbnail] mutagen: Adding thumbnail to "/content/drive/Shareddrives/VLIVE/20181127 - NCT의 night night! - ♥도요일♥ 12⧸1 도다제 녹음현장 ! with 도영.mp4"
```


'<' not supported between instances of 'float' and 'str' and --throttled-rate error after update?

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2022.03.08.1**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Description

After update I get error

'<' not supported between instances of 'float' and 'str'

I found out that it is somewhat related to --throttled-rate setting? When I remove it I can download from YT no issues
If I leave it, I get the following message

[download]   0.0% of 714.94MiB at 499.98KiB/s ETA 24:24ERROR: '<' not supported between instances of 'float' and 'str'

### Verbose log

```shell
Microsoft Windows [Version 6.1.7601]

>yt-dlp https://www.youtube.com/watch?v=XUp9pe1T-UE --throttled-rate 999k
[youtube] XUp9pe1T-UE: Downloading webpage
[youtube] XUp9pe1T-UE: Downloading android player API JSON
[info] XUp9pe1T-UE: Downloading 1 format(s): 571+251
WARNING: Requested formats are incompatible for merge and will be merged into mkv
[download] Destination: 8k VIDEOS _ Beauty of Nature 8K (60 FPS) HDR  UltraHD  _ Sony Demo [XUp9pe1T-UE].f571.mp4
[download]   0.0% of 505.86MiB at 90.90KiB/s ETA 01:34:58ERROR: '<' not supported between instances of 'float' and 'str'

yt>
```


Error since commit 43cc91a

### Checklist

- [X] I'm reporting a bug unrelated to a specific site
- [X] I've verified that I'm running yt-dlp version **2022.04.08** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)

### Description

After commit 43cc91a, I get the error shown in the verbose log.

### Verbose log

```shell
yt-dlp -Uv
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/yt-dlp/__main__.py", line 13, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/usr/local/bin/yt-dlp/yt_dlp/__init__.py", line 12, in <module>
ModuleNotFoundError: No module named 'yt_dlp.compat'
```


ARD:mediathek doesn't work anymore

### Checklist

- [X] I'm reporting a broken site
- [X] I've verified that I'm running yt-dlp version **2021.10.22**. ([update instructions](https://github.com/yt-dlp/yt-dlp#update))
- [X] I've checked that all provided URLs are alive and playable in a browser
- [X] I've checked that all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [X] I've searched the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues including closed ones. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [X] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and I'm willing to share it if required

### Region

Germany

### Description

Downloading from ARDmediathek dosen’t work anymore

### Verbose log

```shell
$ /repositories/yt-dlp/yt-dlp --no-config --verbose https://www.ardmediathek.de/video/tagesschau-oder-tagesschau-20-00-uhr/das-erste/Y3JpZDovL2Rhc2Vyc3RlLmRlL3RhZ2Vzc2NoYXUvZmM4ZDUxMjgtOTE0ZC00Y2MzLTgzNzAtNDZkNGNiZWJkOTll/
[debug] Command-line config: ['--no-config', '--verbose', 'https://www.ardmediathek.de/video/tagesschau-oder-tagesschau-20-00-uhr/das-erste/Y3JpZDovL2Rhc2Vyc3RlLmRlL3RhZ2Vzc2NoYXUvZmM4ZDUxMjgtOTE0ZC00Y2MzLTgzNzAtNDZkNGNiZWJkOTll/']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.10.22 (zip)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.9.7 (CPython 64bit) - Linux-5.13.0-21-generic-x86_64-with-glibc2.34
[debug] exe versions: ffmpeg 4.4 (setts), ffprobe 4.4, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, keyring, mutagen, sqlite
[debug] Proxy map: {}
[debug] Using fake IP 53.36.205.78 (DE) as X-Forwarded-For
[debug] [ARD:mediathek] Extracting URL: https://www.ardmediathek.de/video/tagesschau-oder-tagesschau-20-00-uhr/das-erste/Y3JpZDovL2Rhc2Vyc3RlLmRlL3RhZ2Vzc2NoYXUvZmM4ZDUxMjgtOTE0ZC00Y2MzLTgzNzAtNDZkNGNiZWJkOTll/
[ARD:mediathek] Y3JpZDovL2Rhc2Vyc3RlLmRlL3RhZ2Vzc2NoYXUvZmM4ZDUxMjgtOTE0ZC00Y2MzLTgzNzAtNDZkNGNiZWJkOTll: Downloading webpage
[ARD:mediathek] 10049223: Downloading media JSON
ERROR: [ARD:mediathek] Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/repositories/yt-dlp/yt-dlp/yt_dlp/extractor/common.py", line 713, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/repositories/yt-dlp/yt-dlp/yt_dlp/YoutubeDL.py", line 3288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 555, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 747, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
```


[Bug] text of collapsed node still present

On latest commit https://github.com/comfyanonymous/ComfyUI/commit/d66b631d74e6f6ac95c61c63d4a0da150bf74903.
Dragging the node also doesn't do anything until it's uncollapsed.
<img width="1236" alt="Screenshot 2023-11-21 at 1 14 19 PM" src="https://github.com/comfyanonymous/ComfyUI/assets/111034657/abb0b5c1-3e94-4928-813d-3481ca5f1f47">


Azure Deployment Name Bug

## Policy and info
 - Maintainers will close issues that have been stale for 14 days if they contain relevant answers.
 - Adding the label "sweep" will automatically turn the issue into a coded pull request. Works best for mechanical tasks. More info/syntax at: https://docs.sweep.dev/

## Expected Behavior

There shouldn't be an error with the model name.

## Current Behavior

### Deployment name seems to mix with model name.

Everything seems to work perfectly and code is being made:
![image](https://github.com/gpt-engineer-org/gpt-engineer/assets/145611451/9fd4fcf5-d78e-4179-9406-a98867a9dfc1)

But then an error pops up telling me that the model doesn't exist and it takes my Azure OpenAI deployment name and says it's not a model.
![image](https://github.com/gpt-engineer-org/gpt-engineer/assets/145611451/de5d275e-aa79-4d55-899e-ecf87d7a4261)

Here is the command style I used following these instructions from here: https://gpt-engineer.readthedocs.io/en/latest/open_models.html
![image](https://github.com/gpt-engineer-org/gpt-engineer/assets/145611451/987113ca-0616-4a38-9f35-ccec2cebda5d)

`gpt-engineer --azure [redacted_endpoint_url] ./snake_game/ [redacted_deployment_name]`

## Additional Failure Information

Using Azure OpenAI with gpt-4-turbo deployed with a different deployment name. Only installed gpt-engineer in a virtual environment.


.py files are not being created. I just get all_output.txt that I manually have to create from.

Hi, I absolutely love this script. This is the most accurate auto-GPT development script I have tried yet, it's so powerful!

In the demo video it shows the script creating each of the development files, in my case .py files within the workspace folder automatically. My build isn't doing this I just get an all_output.txt file with all .py files codes in one place and a single python file.

How do I ensure that GPT-Engineer automatically creates the .py files for me. Thanks


Applying diffs failing silently

## Expected Behavior

I would expect GPT engineer to either successfully apply all diffs sent by the AI or fail in a way that lets you know which diffs have been applied, which failed, and allows you to manually salvage the failed diff parts by copy and pasting

## Current Behavior

The current behaviour seems to be that it applies the sections of the diff which it can and silently throws the rest of the code away. From a users perspective it seems like everything has gone well - but in reality its only applied a portion of the diff.

This is really bad from a usability perspective - for one, a partially applied diff is obviously never going to be working code so applying it is pointless. Also, the knowledge that this is the behaviour pf gpte means i need to manually check every single output to verify its applied the whole diff which is a complete waste of time for diffs which do apply succesfully.

Not applying any of the diffs at all would actually be a better outcome for me, as at least i would have a consistent workflow of copy and pasting... however a more sensible sollution is applying the diffs it can, and if it cant apply a diff for a file, not apply any change to it at all, and instead providing an error output which is convenient for the use to copy and paste manually into the file

### Failure Logs
I cant upload failure logs as the code im working on is sensitive


Add copy to clipboard in plaintext for image details

A button we can click to copy to clipboard all of the image details shown in the log output file. If not on the log page then on the app itself.

The quick copying of these settings enables us to share our work methods with others in the community more smoothly, thereby assisting them in a more efficient and effective way.

![chrome_ybBu4Zoryf](https://github.com/lllyasviel/Fooocus/assets/57927413/a1ad7fa5-5a99-43e5-8420-e2c4aeb055de)

![chrome_6zslF9Z3UD](https://github.com/lllyasviel/Fooocus/assets/57927413/ded36d98-377a-4130-b20f-01defbee1e6b)

When I copy the text manually from the log file it looks like a garbled mess. See example below.

```
Prompt | Cute troll with fluffy long spiked hair wearing a ugly Christmas sweater. snow falling down and troll village in the background. full body
-- | --
Negative Prompt |
Fooocus V2 Expansion | Cute troll with fluffy long spiked hair wearing a ugly Christmas sweater. snow falling down and troll village in the background. full body, intricate, elegant, highly detailed, sharp focus, illuminated, sunny, magical, scenic, artistic, true colors, deep aesthetic, very inspirational, cute, cozy, inspired, original, fine detail, professional, winning, enhanced, polished
Styles | ['SAI Photographic', 'Fooocus V2', 'Artstyle Hyperrealism', 'MRE Artistic Vision']
Performance | Quality
Resolution | (1024, 1024)
Sharpness | 3
Guidance Scale | 1.7
ADM Guidance | (1.5, 0.8, 0.3)
Base Model | dreamshaperXL_turboDpmppSDEKarras.safetensors
Refiner Model | None
Refiner Switch | 0.5
Sampler | dpmpp_sde
Scheduler | karras
Seed | 5044578018584347060
Version | v2.1.853
```


[Feature Request]: Prompt embedded LoRAs

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do?

Similar to how A1111 handles LoRAs by default, I believe there should be an option to embed LoRAs in the prompt by using the following structure:
```csharp
<LORA_NAME:WEIGHT>
```

The current workflow works well, but has a few limitations, namely being able to use wildcards and LoRAs together for more dynamic prompts. Additionally, this feature already exists for embeddings, so I reckon adding it for LoRAs should be trivial.

### Proposed workflow

1. Enter LoRAs in the prompt using the `<LORA_NAME:WEIGHT>` structure
2. Generate images, and LoRAs are loaded for each iteration

### Additional information

_No response_


Cannot use image prompts

I am trying to use 2x images as an image prompt but when I press generate this is what I'm getting (I can generate just fine without image prompts):

Full console log:

<code>[Parameters] Adaptive CFG = 7
[Parameters] Sharpness = 3
[Parameters] ADM Scale = 1.5 : 0.8 : 0.3
[Parameters] CFG = 1.5
[Parameters] Seed = 953753918774495193
[Fooocus] Downloading control models ...
[Fooocus] Loading control models ...
[Parameters] Sampler = dpmpp_2m_sde_gpu - karras
[Parameters] Steps = 6 - 30
[Fooocus] Initializing ...
[Fooocus] Loading models ...
Refiner unloaded.
model_type EPS
UNet ADM Dimension 2816
Using split attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using split attention in VAE
extra {'cond_stage_model.clip_l.logit_scale', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.text_projection'}
Base model loaded: H:\Programs\Fooocus_win64_2-1-831\Fooocus\models\checkpoints\realisticStockPhoto_v10.safetensors
Request to load LoRAs [['None', 0.25], ['None', 1.0], ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [H:\Programs\Fooocus_win64_2-1-831\Fooocus\models\checkpoints\realisticStockPhoto_v10.safetensors].
Requested to load SDXLClipModel
Loading 1 new model
[Fooocus] Processing prompts ...
[Fooocus] Encoding positive #1 ...
[Fooocus] Encoding negative #1 ...
[Fooocus] Image processing ...
Traceback (most recent call last):
  File "H:\Programs\Fooocus_win64_2-1-831\Fooocus\modules\async_worker.py", line 806, in worker
    handler(task)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\Fooocus\modules\async_worker.py", line 647, in handler
    task[0] = ip_adapter.preprocess(cn_img, ip_adapter_path=ip_adapter_path)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\Fooocus\extras\ip_adapter.py", line 185, in preprocess
    cond = image_proj_model.model(cond).to(device=ip_adapter.load_device, dtype=ip_adapter.dtype)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\Fooocus\extras\resampler.py", line 117, in forward
    latents = attn(x, latents) + latents
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\Fooocus\extras\resampler.py", line 55, in forward
    latents = self.norm2(latents)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\nn\modules\module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\nn\modules\normalization.py", line 190, in forward
    return F.layer_norm(
  File "H:\Programs\Fooocus_win64_2-1-831\python_embeded\lib\site-packages\torch\nn\functional.py", line 2515, in layer_norm
    return torch.layer_norm(input, normalized_shape, weight, bias, eps, torch.backends.cudnn.enabled)
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, privateuseone:0 and cpu!
Total time: 37.40 seconds
</code>


Faceswap crashes

**Describe the problem**
The program crashes when trying to use an image as prompt and selecting the faceswap advanced option

**Full Console Log**
Requirement already satisfied: pygit2==1.12.2 in /usr/local/lib/python3.10/dist-packages (1.12.2)
Requirement already satisfied: cffi>=1.9.1 in /usr/local/lib/python3.10/dist-packages (from pygit2==1.12.2) (1.16.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.9.1->pygit2==1.12.2) (2.21)
/content
fatal: destination path 'Fooocus' already exists and is not an empty directory.
/content/Fooocus
Already up-to-date
Update succeeded.
[System ARGV] ['entry_with_update.py', '--preset', 'realistic', '--share']
Loaded preset: /content/Fooocus/presets/realistic.json
Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
Fooocus version: 2.1.824
Running on local URL:  http://127.0.0.1:7865/
Running on public URL: https://fb6371be5d9ced0c1d.gradio.live/

This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)
Total VRAM 15102 MB, total RAM 12983 MB
2023-11-29 21:03:50.202601: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-11-29 21:03:50.202658: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-11-29 21:03:50.202708: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-11-29 21:03:52.244376: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Set vram state to: NORMAL_VRAM
Disabling smart memory management
Device: cuda:0 Tesla T4 : native
VAE dtype: torch.float32
Using pytorch cross attention
Refiner unloaded.
model_type EPS
adm 2816
Using pytorch attention in VAE
Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
Using pytorch attention in VAE
extra keys {'cond_stage_model.clip_l.text_projection', 'cond_stage_model.clip_g.transformer.text_model.embeddings.position_ids', 'cond_stage_model.clip_l.logit_scale'}
Base model loaded: /content/Fooocus/models/checkpoints/realisticStockPhoto_v10.safetensors
Request to load LoRAs [['SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors', 0.25], ['None', 1.0], ['None', 1.0], ['None', 1.0], ['None', 1.0]] for model [/content/Fooocus/models/checkpoints/realisticStockPhoto_v10.safetensors].
Loaded LoRA [/content/Fooocus/models/loras/SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors] for UNet [/content/Fooocus/models/checkpoints/realisticStockPhoto_v10.safetensors] with 788 keys at weight 0.25.
Loaded LoRA [/content/Fooocus/models/loras/SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4.safetensors] for CLIP [/content/Fooocus/models/checkpoints/realisticStockPhoto_v10.safetensors] with 264 keys at weight 0.25.
Fooocus V2 Expansion: Vocab with 642 words.
Fooocus Expansion engine loaded for cuda:0, use_fp16 = True.
Requested to load SDXLClipModel
Requested to load GPT2LMHeadModel
Loading 2 new models
[Fooocus Model Management] Moving model(s) has taken 1.30 seconds
App started successful. Use the app with http://127.0.0.1:7865/ or 127.0.0.1:7865 or https://fb6371be5d9ced0c1d.gradio.live/
[Parameters] Adaptive CFG = 7
[Parameters] Sharpness = 2
[Parameters] ADM Scale = 1.5 : 0.8 : 0.3
[Parameters] CFG = 3.0
[Parameters] Seed = 604471590939558783
[Parameters] Sampler = dpmpp_2m_sde_gpu - karras
[Parameters] Steps = 60 - 30
[Fooocus] Initializing ...
[Fooocus] Loading models ...
Refiner unloaded.
[Fooocus] Processing prompts ...
[Fooocus] Preparing Fooocus text #1 ...
[Prompt Expansion] Portrait of a young man on the beach, full light, gorgeous, amazing, elegant, intricate, highly detailed, dynamic, rich deep vivid colors, beautiful, very inspirational, inspiring, thought, fancy, sharp focus, colorful, epic, professional, artistic, new, charismatic, cool, brilliant, awesome, attractive, shiny, fine detail, pretty, focused, creative
[Fooocus] Preparing Fooocus text #2 ...
[Prompt Expansion] Portrait of a young man on the beach, full pretty, attractive, fine detail, intricate, elegant, luxury, elite, dramatic light, highly detailed, cinematic, complex, sharp focus, illuminated, amazing, marvelous, thought, epic, fabulous, colorful, shiny, brilliant, symmetry, great, excellent composition, ambient, dynamic, vibrant colors, relaxed, beautiful
[Fooocus] Encoding positive #1 ...
[Fooocus Model Management] Moving model(s) has taken 0.11 seconds
[Fooocus] Encoding positive #2 ...
[Fooocus] Encoding negative #1 ...
[Fooocus] Encoding negative #2 ...
[Parameters] Denoising Strength = 1.0
[Parameters] Initial Latent shape: Image Space (1152, 896)
Preparation time: 3.60 seconds
[Sampler] refiner_swap_method = joint
[Sampler] sigma_min = 0.0291671771556139, sigma_max = 14.614643096923828
Requested to load SDXL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 2.40 seconds
100% 60/60 [00:55<00:00,  1.09it/s]
Image generated with private log at: /content/Fooocus/outputs/2023-11-29/log.html
Generating and saving time: 60.73 seconds
[Sampler] refiner_swap_method = joint
[Sampler] sigma_min = 0.0291671771556139, sigma_max = 14.614643096923828
Requested to load SDXL
Loading 1 new model
[Fooocus Model Management] Moving model(s) has taken 2.01 seconds
100% 60/60 [00:56<00:00,  1.06it/s]
Image generated with private log at: /content/Fooocus/outputs/2023-11-29/log.html
Generating and saving time: 61.85 seconds
Requested to load SDXLClipModel
Requested to load GPT2LMHeadModel
Loading 2 new models
[Fooocus Model Management] Moving model(s) has taken 1.57 seconds
Total time: 131.21 seconds
[Parameters] Adaptive CFG = 7
[Parameters] Sharpness = 2
[Parameters] ADM Scale = 1.5 : 0.8 : 0.3
[Parameters] CFG = 3.0
[Parameters] Seed = 7513856776859948774
[Fooocus] Downloading control models ...
[Fooocus] Loading control models ...
extra keys clip vision: ['vision_model.embeddings.position_ids']


[v8.0] Bank statement : Customer Import invoice wizard do not auto-fill the right field

Step to reproduce:

create a customer invoice
create a new bank statement and import this invoice
click on 'Reconcile'
Problem: No match proposition between the bank statement line and the invoice move line can be found since the communication field is '/'. (The invoice number is in the field 'Reference' instead)

So please the ref must go to communication

Thanks


[Bug]: 翻译arxiv文档报错，无论本地自己搭建还是官方在线均报错

### Installation Method | 安装方法与平台

OneKeyInstall (一键安装脚本-windows)

### Version | 版本

Latest | 最新版

### OS | 操作系统

Windows

### Describe the bug | 简述

官方在线版报错代码如下：

> Local Message] 实验性函数调用出错:
>
> Traceback (most recent call last):
>   File "./toolbox.py", line 165, in decorated
>     yield from f(main_input, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, *args, **kwargs)
>   File "./crazy_functions/Latex输出PDF结果.py", line 249, in Latex翻译中文并重新编译PDF
>     txt, arxiv_id = yield from arxiv_download(chatbot, history, txt)
>   File "./crazy_functions/Latex输出PDF结果.py", line 141, in arxiv_download
>     extract_archive(file_path=dst, dest_dir=extract_dst)
>   File "./toolbox.py", line 507, in extract_archive
>     with tarfile.open(file_path, 'r:*') as tarobj:
>   File "/usr/lib/python3.8/tarfile.py", line 1608, in open
>     raise ReadError("file could not be opened successfully")
> tarfile.ReadError: file could not be opened successfully
>
> 当前代理可用性:
>
> 代理配置 socks5h://localhost:7890, 代理所在地：Japan

本地搭建版报错代码如下：

> [Local Message] 实验性函数调用出错:
>
> Traceback (most recent call last):
>   File ".\toolbox.py", line 150, in decorated
>     yield from f(main_input, llm_kwargs, plugin_kwargs, chatbot_with_cookie, history, *args, **kwargs)
>   File ".\crazy_functions\Latex输出PDF结果.py", line 250, in Latex翻译中文并重新编译PDF
>     txt, arxiv_id = yield from arxiv_download(chatbot, history, txt, allow_cache)
>   File ".\crazy_functions\Latex输出PDF结果.py", line 139, in arxiv_download
>     extract_archive(file_path=dst, dest_dir=extract_dst)
>   File ".\toolbox.py", line 461, in extract_archive
>     with tarfile.open(file_path, 'r:*') as tarobj:
>   File "D:\academic-gpt\installer_files\env\lib\tarfile.py", line 1811, in open
>     raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}")
> tarfile.ReadError: file could not be opened successfully:
> - method gz: ReadError('invalid header')
> - method bz2: ReadError('not a bzip2 file')
> - method xz: ReadError('not an lzma file')
> - method tar: ReadError('invalid header')
>
> 当前代理可用性:
>
> 代理配置 socks5h://127.0.0.1:12341, 代理所在地：Hong Kong - Cloudflare, Inc.

所翻译的arxiv文档的地址为：https://arxiv.org/abs/2112.10551

### Screen Shot | 有帮助的截图

![msedge_HmO7O9M6OT](https://github.com/binary-husky/gpt_academic/assets/10786234/51e6ff95-9b95-47cd-b671-322aa1808389)

### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback（如有） + 帮助我们复现的测试材料样本（如有）

_No response_


能否利用EdgeGPT，支持调用微软Bing接口

大佬们求求了，看看这个项目吧，https://github.com/acheong08/EdgeGPT
如果可以方便地调用Bing接口，或者未来的百度、阿里等第三方接口，对于没有openAI-key也没法本地部署GLM的同学是福音啊