diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | cws-status | 17 | ||||
| -rw-r--r-- | requirements.txt | 13 |
3 files changed, 31 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f21b54 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/venv/ diff --git a/cws-status b/cws-status new file mode 100644 index 0000000..e2c4ba0 --- /dev/null +++ b/cws-status @@ -0,0 +1,17 @@ +#!/usr/bin/env python3 + +from urllib import request + +import browser_cookie3 + +url = 'https://chrome.google.com/webstore/devconsole/<UUID>' + +cookie_jar = browser_cookie3.chrome( + cookie_file='<profile-cookie-file>', +) + +opener = request.build_opener(request.HTTPCookieProcessor(cookie_jar)) + +page_html = opener.open(url).read() + +print(page_html) diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8a166b5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,13 @@ +browser-cookie3==0.15.0 +cffi==1.15.0 +cryptography==37.0.2 +importlib-metadata==4.11.4 +jeepney==0.8.0 +keyring==23.6.0 +lz4==4.0.1 +pbkdf2==1.3 +pyaes==1.6.1 +pycparser==2.21 +pycryptodome==3.14.1 +SecretStorage==3.3.2 +zipp==3.8.0 |
