<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="13" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[13]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Netscape Navigator</anchor>
は<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">クッキー</anchor>を保存するために<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">テキストファイル</anchor>を使っていました。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="14" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[14]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Lynx</anchor>,
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">wget</anchor>,
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">curl</anchor>
など各種
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTTPクライアント</anchor>がこの<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">ファイル形式</anchor>を採用しました。</p><p><sw-see xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"> 他のクッキー表現形式については<anchor>クッキー</anchor> </sw-see></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="15" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[15]</anchor-end> 
現在の主要な
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Webブラウザー</anchor>は独自形式で<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">クッキー</anchor>を保存するようになりました。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="16" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[16]</anchor-end> 
かつては
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Webブラウザー</anchor>の
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">GUI</anchor>
から
Netscape
形式で<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">クッキーストア</anchor>を<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">エクスポート</anchor>することもできましたが、
近年は省かれています。
ただ需要はあるようで、
そのような<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Chrome拡張</anchor>や<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Firefox拡張</anchor>が開発され利用されているようです。
<time>2020-10-01T12:33:00.200Z</time></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <cite>curl - How To Use</cite>, <time>2020-09-21T09:01:13.000Z</time>, <time>2020-10-01T06:00:34.414Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://curl.haxx.se/docs/manpage.html#-c">https://curl.haxx.se/docs/manpage.html#-c</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="10" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[10]</anchor-end> <cite>CURLOPT_COOKIELIST</cite>, <time>2020-09-09T12:45:07.000Z</time>, <time>2020-10-01T12:14:49.559Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html">https://curl.haxx.se/libcurl/c/CURLOPT_COOKIELIST.html</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="11" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[11]</anchor-end> <cite>curl - HTTP Cookies</cite>, <time>2020-09-21T09:01:13.000Z</time>, <time>2020-10-01T12:16:03.538Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://curl.haxx.se/docs/http-cookies.html">https://curl.haxx.se/docs/http-cookies.html</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> 
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">curl</anchor> の対応しているのは3種類: <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">名前と値の組を直接指定<title xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:10:">cookie-string</title></anchor>、
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Netscape/Mozilla cookie file format</anchor> ファイルで指定、
<code>Set-Cookie:</code> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTTPヘッダー</anchor>形式ファイルで指定。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="12" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[12]</anchor-end> <cite xml:lang="en">curl/cookie.c at master · curl/curl · GitHub</cite>, <time>2020-10-01T12:25:54.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/curl/curl/blob/master/lib/cookie.c">https://github.com/curl/curl/blob/master/lib/cookie.c</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> <cite>curl - How To Use</cite>, <time>2020-09-21T09:01:13.000Z</time>, <time>2020-10-01T06:18:54.907Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://curl.haxx.se/docs/manpage.html#-j">https://curl.haxx.se/docs/manpage.html#-j</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> <cite xml:lang="en">GNU Wget 1.20 Manual</cite>, <time>2020-10-01T07:20:18.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://www.gnu.org/software/wget/manual/wget.html#index-cookies">https://www.gnu.org/software/wget/manual/wget.html#index-cookies</anchor-external></p><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end> <cite xml:lang="en">ytdl-org/youtube-dl: Command-line program to download videos from YouTube.com and other video sites</cite>
(<time>2020-10-01T08:13:11.000Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/ytdl-org/youtube-dl#filesystem-options">https://github.com/ytdl-org/youtube-dl#filesystem-options</anchor-external></figcaption><blockquote><p>--cookies FILE                   File to read cookies from and dump cookie</p><p>jar in</p></blockquote></figure><figure class="quote"><figcaption><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> <cite xml:lang="en">ytdl-org/youtube-dl: Command-line program to download videos from YouTube.com and other video sites</cite>
(<time>2020-10-01T08:15:11.000Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl">https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl</anchor-external></figcaption><blockquote><p>Note that the cookies file must be in Mozilla/Netscape format and the first line of the cookies file must be either # HTTP Cookie File or # Netscape HTTP Cookie File. Make sure you have correct newline format in the cookies file and convert newlines if necessary to correspond with your OS, namely CRLF (\r\n) for Windows and LF (\n) for Unix and Unix-like systems (Linux, macOS, etc.). HTTP Error 400: Bad Request when using --cookies is a good sign of invalid newline format.</p></blockquote></figure><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="7" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[7]</anchor-end> <cite>http.cookiejar — Cookie handling for HTTP clients — Python 3.10.0a0 documentation</cite>, <time>2020-09-30T22:17:54.000Z</time>, <time>2020-10-01T08:19:48.209Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://docs.python.org/3.10/library/http.cookiejar.html#http.cookiejar.MozillaCookieJar">https://docs.python.org/3.10/library/http.cookiejar.html#http.cookiejar.MozillaCookieJar</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="8" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[8]</anchor-end> <cite xml:lang="en-US">HTTP::Cookies::Netscape - Access to Netscape cookies files - metacpan.org</cite>, <time>2020-10-01T08:22:55.000Z</time> <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://metacpan.org/pod/HTTP::Cookies::Netscape">https://metacpan.org/pod/HTTP::Cookies::Netscape</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="9" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[9]</anchor-end> <cite xml:lang="en">lynx(1) - Linux man page</cite>
(<time>2020-10-01T08:27:45.000Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://linux.die.net/man/1/lynx">https://linux.die.net/man/1/lynx</anchor-external></p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="17" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[17]</anchor-end> <cite>Cookieファイルについて</cite>
(<time>2021-12-30T03:39:45.000Z</time>)
<anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://www.openspc2.org/JavaScript/study/cookie.html">http://www.openspc2.org/JavaScript/study/cookie.html</anchor-external></p></body></html>