μλ νμΈμ,
μ΄λ€ μ΄μ λ‘ asciinema
μμ λ
Ήμμ μ
λ‘λν μ μμ΅λλ€.
asciinema play
λͺ
λ ΉμΌλ‘ λ‘컬 νμΌμ μ¬μν μ μμ΅λλ€.``` $ which asciinema
/snap/bin/asciinema
## Error
$ asciinema μ
λ‘λ /tmp/tmpc5xmedw5-ascii.cast
asciinema: μ
λ‘λ μ€ν¨: μλ²μ μΌμμ μΈ λ¬Έμ κ° μμ΅λλ€. μ μ ν λ€μ μλνμΈμ.
asciinema: asciinema upload /tmp/tmpc5xmedw5-ascii.castλ₯Ό μ€ννμ¬ λμ€μ λ€μ μλνμμμ€.
## System
νΈμ€νΈ: bashfulrobot 컀λ: 5.0.0-13-generic x86_64 λΉνΈ: 64
λ°μ€ν¬ν: i3 4.16.1 λ°°ν¬ν: Ubuntu 19.04(Disco Dingo)
## Asciinema Version
asciinema 2.0.2
## Python Versions
νμ΄μ¬ --λ²μ
νμ΄μ¬ 2.7.16
python3 --λ²μ
νμ΄μ¬ 3.7.3
```
κ°μ¬ν©λλ€.
@bashfulrobot Disco Dingoλ‘ μΈν κ² κ°μ΅λλ€ :) Xubuntu 19.04μ λμΌν λ¬Έμ κ° μμ΅λλ€.
@vranystepan λ¬Έμ λ₯Ό νμΈν΄ μ£Όμ μ κ°μ¬ν©λλ€.
μ¬κΈ°μ νμλ λλ‘ curl
λ‘ μ
λ‘λλ₯Ό μλν μ μμ΅λκΉ? https://gist.github.com/sickill/514860f60d01ed9218be4ede51a33887
μ΄κ²μ μ΄κ²μ΄ OS νΉμ λ¬Έμ (SSL μΈμ¦μ)μΈμ§ μλλ©΄ Ubuntuμ Python 3 λΉλ λ¬Έμ μΈμ§λ₯Ό 보μ¬μ€λλ€.
@sickill μ΄κ²μ curlμ ν΅ν΄ λ¬Έμ μμ΄ μλν©λλ€(μλ³Έ κ²μλ¬Όμ μΈκΈλ¨). :-) νμ§λ§ λ°©κΈ λͺ λ ΉμΌλ‘ λ€μ μ€ννμ΅λλ€. 컬μ ν΅ν λ¬Έμ λ μ ν μμ΅λλ€. μ¬μ€, μμ ν΄κ²° λ°©λ²μ μ Έ λ³μΉμ λλ€.
λ¬Έμ λ₯Ό μ°Ύμμ΅λλ€. μμν κ²μ΄ μλλλ€. :)
Ubuntu Discoμμ μ μ‘λλ User-Agent λ¬Έμμ΄μ λ€μκ³Ό κ°μ΅λλ€.
asciinema/2.0.2 CPython/3.7.3 Linux/4.9.125-linuxkit-x86_64-with-Ubuntu-19.04-disco
λ§μ§λ§ λΆλΆμ κΈ°λ³Έμ μΌλ‘ uname
μΈ platform.platform()
μ κ²°κ³Όμ
λλ€.
μ¬νκΉμ§λ κ·Έλ°λλ‘ μλλ€.
μ΄μ asciinema.orgμ nginxλ https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blockerμ "λμ λ΄" μ°¨λ¨ λͺ©λ‘μ μ¬μ©νμ¬ λμ νλμΌλ‘ μλ €μ§ λ΄ λͺ©λ‘κ³Ό μ¬μ©μ μμ΄μ νΈ λ¬Έμμ΄μ μΌμΉμν΅λλ€.
μ΄ μ°¨λ¨ λͺ©λ‘μ regexp ~*\bDisco\b
...
π€¦ββ
Ubuntu Discoμμ ν μ€νΈν μ°¨λ¨ λͺ©λ‘μμ μ κ±°νλλ° μ΄μ μ λλ‘ μλνλ κ² κ°μ΅λλ€.
λ―Έμν©λλ€!
μλνλ κ²μΌλ‘ νμΈλμμ΅λλ€! λ°λΌκ±΄λ, 19.10μμλ μ무 κ²λ λ³κ²½λμ§ μμ΅λλ€(μ°λ¦¬λ λ°©κΈ μμ μ μμνμ΅λλ€).
μκ° λ΄ μ£Όμ μ κ°μ¬ν©λλ€!
μμ²λ! μ λ§ κ³ λ§μ΅λλ€!
μ΄κ²μ λ΄κ° λ°λΉμμμ κ²ͺκ³ μλ κ²κ³Ό κ°μ λ¬Έμ μΈ κ² κ°μ΅λλ€. curl μ λ‘λκ° μλνκ³ Python ν΄λΌμ΄μΈνΈκ° μ€ν¨ν©λλ€.
$ uname -a
Linux carbo 4.19.0-5-amd64 #1 SMP Debian 4.19.37-6 (2019-07-18) x86_64 GNU/Linux
$ python -V
Python 3.7.4+
$ pip list | grep asciinema
asciinema 2.0.2
@stefanv μ μ견μ μΈμ© ν©λλ€. 컬 μ λ‘λκ° μλνκ³ κ³΅μ λ°λΉμ ν¨ν€μ§κ° λ°λΉμ λΆμ€μμ΄μμ μ€ν¨ν©λλ€:
$ uname -a
Linux shibori 5.2.0-3-amd64 #1 SMP Debian 5.2.17-1 (2019-09-26) x86_64 GNU/Linux
$ asciinema --version
asciinema 2.0.2
μ΄κ²μ μ¬μ ν ββμ‘΄μ¬ν©λλ€. νλ«νΌ λ¬Έμμ΄:
>>> platform.platform();
'Linux-5.4.0-3-amd64-x86_64-with-debian-bullseye-sid'
MacOS Catalinaμμ SSL λ¬Έμ λ₯Ό νμ νλ λ° λͺ μκ°μ λ³΄λΈ ν
asciinema: upload failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)>
asciinema: retry later by running: asciinema upload /var/folders/2j/7schjxl10bgdwl5_bsznbqm00000gn/T/tmp62k0vrw7-ascii.cast
μ 곡λ μ루μ
μ€ μ΄λ κ²λ λλ₯Ό μν΄ μΌνμ§ μμμ΅λλ€. curl ν΄κ²° λ°©λ²μ λ΄ test
λ
Ήμμ μ
λ‘λν©λλ€.
μ΄ λ¬Έμ λ μ’
λ£λμμ§λ§ ν΄κ²° λ°©λ²μ΄ μμ΅λλ€.
κ°μ₯ μ μ©ν λκΈ
μ΄κ²μ μ¬μ ν ββμ‘΄μ¬ν©λλ€. νλ«νΌ λ¬Έμμ΄: