Start playing
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/nikola/python/ani-cli-ru/anicli_ru/main.py", line 7, in
main()
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 239, in main
Menu.run()
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 234, in run
cls().main()
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 174, in main
self.find(command)
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 162, in find
self.choose_anime(results)
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 154, in choose_anime
self.choose_episode(results[command - 1])
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 114, in choose_episode
self.choose_dub(results)
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 96, in choose_dub
self._run_video(results[command - 1])
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 181, in _run_video
url = player.get_video(player.url, args.QUALITY)
File "/home/nikola/python/ani-cli-ru/anicli_ru/base.py", line 284, in get_video
return a.get_video(player_url=self.url, quality=quality, referer=referer)
File "/home/nikola/python/ani-cli-ru/anicli_ru/base.py", line 221, in get_video
url = self.get_kodik_url(player_url, quality, referer=referer)
File "/home/nikola/python/ani-cli-ru/anicli_ru/base.py", line 172, in get_kodik_url
data, url_data = kodik_parse_payload(resp.text, referer)
File "/home/nikola/python/ani-cli-ru/anicli_ru/utils/player_tools.py", line 52, in kodik_parse_payload
"ref": referer.rstrip("/")})
AttributeError: 'int' object has no attribute 'rstrip'
Я хотел посмотреть ван пис а там ошибка
Start playing Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/nikola/python/ani-cli-ru/anicli_ru/main.py", line 7, in
main()
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 239, in main
Menu.run()
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 234, in run
cls().main()
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 174, in main
self.find(command)
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 162, in find
self.choose_anime(results)
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 154, in choose_anime
self.choose_episode(results[command - 1])
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 114, in choose_episode
self.choose_dub(results)
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 96, in choose_dub
self._run_video(results[command - 1])
File "/home/nikola/python/ani-cli-ru/anicli_ru/anicli.py", line 181, in _run_video
url = player.get_video(player.url, args.QUALITY)
File "/home/nikola/python/ani-cli-ru/anicli_ru/base.py", line 284, in get_video
return a.get_video(player_url=self.url, quality=quality, referer=referer)
File "/home/nikola/python/ani-cli-ru/anicli_ru/base.py", line 221, in get_video
url = self.get_kodik_url(player_url, quality, referer=referer)
File "/home/nikola/python/ani-cli-ru/anicli_ru/base.py", line 172, in get_kodik_url
data, url_data = kodik_parse_payload(resp.text, referer)
File "/home/nikola/python/ani-cli-ru/anicli_ru/utils/player_tools.py", line 52, in kodik_parse_payload
"ref": referer.rstrip("/")})
AttributeError: 'int' object has no attribute 'rstrip'