Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

学习研究代码 请勿传播 #503

Open
JonChen897 opened this issue Mar 27, 2020 · 14 comments
Open

学习研究代码 请勿传播 #503

JonChen897 opened this issue Mar 27, 2020 · 14 comments

Comments

@JonChen897
Copy link

二维码出不来 是因为源程序屏蔽的图片 Mydriver.py 把20行 修改 false为 true
self.options.add_argument('blink-settings=imagesEnabled=true')

@liukangyi2019
Copy link

大佬您好,按照您的做了,还是不行,出现以下错误,烦请大佬指点:
Traceback (nost recent call last) :
File "pandalearning.py". line 181, in
total, each = show_score (cookies )
File“ pandalearning.py",1ine 49,in show_score
total, each = score.get_ score (cookies)
File "D:\My-work\pdlearn\score.py",line 9, in get_ score
for cookie in cookies:
TypeError:'NoneType 'object is not iterable

@JonChen897
Copy link
Author

大佬您好,按照您的做了,还是不行,出现以下错误,烦请大佬指点:
Traceback (nost recent call last) :
File "pandalearning.py". line 181, in
total, each = show_score (cookies )
File“ pandalearning.py",1ine 49,in show_score
total, each = score.get_ score (cookies)
File "D:\My-work\pdlearn\score.py",line 9, in get_ score
for cookie in cookies:
TypeError:'NoneType 'object is not iterable
你的已经不是二维码的问题了
给你发过去我的score.py 你看看

@JonChen897
Copy link
Author

JonChen897 commented Mar 27, 2020 via email

@liukangyi2019
Copy link

大佬,我的邮箱[email protected]

@JonChen897
Copy link
Author

JonChen897 commented Mar 27, 2020 via email

@liukangyi2019
Copy link

liukangyi2019 commented Mar 27, 2020 via email

@liukangyi2019
Copy link

liukangyi2019 commented Mar 27, 2020 via email

@JonChen897
Copy link
Author

JonChen897 commented Mar 27, 2020 via email

@liukangyi2019
Copy link

liukangyi2019 commented Mar 27, 2020 via email

@luwei369
Copy link

luwei369 commented Mar 27, 2020

二维码出不来 是因为源程序屏蔽的图片 Mydriver.py 把20行 修改 false为 true
self.options.add_argument('blink-settings=imagesEnabled=true')

修改pandalearning.py的18行为:driver_login = mydriver.Mydriver(noimg=False,nohead=False)
也是可以的,这个本来是作者为了减少资源占用不加载图片的,后面文章和视频学习只传了隐藏浏览器的参数,默认是不加载图片的(如果不在乎资源占用,可以忽略,哈哈)

@18958092381
Copy link

18958092381 commented Mar 27, 2020

出现无效页面\

系统正在维护中

@luwei369
Copy link

出现无效页面\

系统正在维护中

参考这个里面7楼的修改
#500 (comment)

@JonChen897
Copy link
Author

二维码出不来 是因为源程序屏蔽的图片 Mydriver.py 把20行 修改 false为 true
self.options.add_argument('blink-settings=imagesEnabled=true')

修改pandalearning.py的18行为:driver_login = mydriver.Mydriver(noimg=False,nohead=False)
也是可以的,这个本来是作者为了减少资源占用不加载图片的,后面文章和视频学习只传了隐藏浏览器的参数,默认是不加载图片的(如果不在乎资源占用,可以忽略,哈哈)

是的 一个意思

@JonChen897
Copy link
Author

我的系统是win732位的。

爱莫能助了 我的64位win10 你用作者代码就行 修改 登录的地址 和 图片加载那一行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants