mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-16 04:11:01 +00:00
11 lines
197 B
Python
Executable file
11 lines
197 B
Python
Executable file
#!/usr/bin/python3
|
|
|
|
from http import cookies
|
|
import sys
|
|
import urllib.parse
|
|
|
|
C = cookies.SimpleCookie()
|
|
for field, value in urllib.parse.parse_qsl(sys.stdin.read()):
|
|
C[field] = value
|
|
|
|
print(C)
|