Git Product home page Git Product logo

Comments (6)

zaxtyson avatar zaxtyson commented on July 22, 2024

good idea👍 这就加上

from lanzoucloud-cmd.

zaxtyson avatar zaxtyson commented on July 22, 2024

在我电脑上面似乎没用, 有空再折腾下

from lanzoucloud-cmd.

zaxtyson avatar zaxtyson commented on July 22, 2024

ok, 加上了~

browser_cookie3 在读取浏览器的用户数据时, 使用的是 ../User Data/Default/... 路径下的配置, 但是现在不少浏览器是一个 User 一个文件夹, 比如 Chromium Edge.

添加了对 ../User Data/Profile N/...../User Data/Guest Profile/ 下配置文件的扫描.

def __add_more_possible_paths(paths: Iterable[str]):

关于 cookie 读取的顺序问题, 我这边改成了: 找到第一个满足 domain_name 和 我们要求的 keys 的浏览器 Cookie, 防止其它浏览器登录过, 但是没有我们想要的数据.

def load_with_keys(domain_name="", keys: list = None) -> (dict, str):

此外, 我在 Ubuntu 20.04.2 LTS 虚拟机什么跑, 会出现
image

似乎是 GNOME Keyring 的问题, 这个地方不用 keyring 好像也没问题.

抛出来的 dbus.exceptions.DBusException eyring.errors.InitError 都继承自 Exception, 原作者在这里捕获 RuntimeError 似乎范围不够

from lanzoucloud-cmd.

liuyiwei521 avatar liuyiwei521 commented on July 22, 2024

你好,很幸运遇到了这样有想法的软件,但是我在使用过程中遇到了问题,读取edge的cookie一直显示失败,当我调用开发者页面输入相应的数据后还是显示失败是为什么?我的电脑系统是windows10

from lanzoucloud-cmd.

ZhangTianrong avatar ZhangTianrong commented on July 22, 2024

Edge 最近的新版本开始不允许浏览器运行时复制或访问 Cookies 了,建议仅保留 Firefox.

from lanzoucloud-cmd.

w00118501 avatar w00118501 commented on July 22, 2024

Mac上读取不了cookie,要怎么操作?谢谢

from lanzoucloud-cmd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.