Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

访问市场超时 #87

Open
YBFACC opened this issue Apr 18, 2021 · 7 comments
Open

访问市场超时 #87

YBFACC opened this issue Apr 18, 2021 · 7 comments
Assignees

Comments

@YBFACC
Copy link

YBFACC commented Apr 18, 2021

问题描述

访问市场超时
我使用代理无法访问市场,代理是正常的。
使用curl测试:
使用socks5代理
curl -x socks5://127.0.0.1:1086 https://steamcommunity.com/market/
正常访问

复现步骤

报错信息

Timeout for https://steamcommunity.com/market/

相关截屏(最好贴一下)

软件信息

请完善以下信息:

  • python版本:3.8
  • oddish版本(tag或者commit id): 50f01dc
  • 操作系统:macos
@KnightFizz
Copy link

解决了吗

@puppylpg
Copy link
Owner

puppylpg commented Dec 8, 2021

代理的端口配置里不是1086,改一下吧

如果gui没法改,可以把代码回退到上一个没有gui的版本

@FengZhiheng
Copy link

FengZhiheng commented Feb 14, 2022

遇到了相同问题;
Win10操作系统,GUI版oddish,修改了端口号7890,采用了clash全局翻墙,仍然报错:

2022-02-14 23:58:46,239 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [ERROR]  Timeout for https://steamcommunity.com/market/ beyond the maximum(3) retry times. SKIP!

@ccinv
Copy link
Collaborator

ccinv commented Feb 15, 2022

遇到了相同问题; Win10操作系统,GUI版oddish,修改了端口号7890,采用了clash全局翻墙,仍然报错:

2022-02-14 23:58:46,239 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [ERROR]  Timeout for https://steamcommunity.com/market/ beyond the maximum(3) retry times. SKIP!

是否提示缺少 cacert.pem 文件?如果是的话,可以下载 http://curl.haxx.se/ca/cacert.pem ,在程序目录下新建 certifi 文件夹并且放入下载的文件,看一下问题是否解决。

@ccinv ccinv self-assigned this Feb 15, 2022
@FengZhiheng
Copy link

遇到了相同问题; Win10操作系统,GUI版oddish,修改了端口号7890,采用了clash全局翻墙,仍然报错:

2022-02-14 23:58:46,239 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [ERROR]  Timeout for https://steamcommunity.com/market/ beyond the maximum(3) retry times. SKIP!

问题解决了,我做了以下的操作:
1、修改代理地址:proxy = socks5h://127.0.0.1:7890,必须得加h;
2、修改item_crawler.py第91行,改为“connector = ProxyConnector.from_url('socks5://127.0.0.1:7890', limit=5)”。不然会报错;
3、修改suggestion.py第38行,把“history_sold”修改成“sell_num”,因为history_sold变量值全是0;

@puppylpg
Copy link
Owner

遇到了相同问题; Win10操作系统,GUI版oddish,修改了端口号7890,采用了clash全局翻墙,仍然报错:

2022-02-14 23:58:46,239 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [ERROR]  Timeout for https://steamcommunity.com/market/ beyond the maximum(3) retry times. SKIP!

问题解决了,我做了以下的操作: 1、修改代理地址:proxy = socks5h://127.0.0.1:7890,必须得加h; 2、修改item_crawler.py第91行,改为“connector = ProxyConnector.from_url('socks5://127.0.0.1:7890', limit=5)”。不然会报错; 3、修改suggestion.py第38行,把“history_sold”修改成“sell_num”,因为history_sold变量值全是0;

mark一下,回去看看

@ccinv
Copy link
Collaborator

ccinv commented Feb 17, 2022

遇到了相同问题; Win10操作系统,GUI版oddish,修改了端口号7890,采用了clash全局翻墙,仍然报错:

2022-02-14 23:58:46,239 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [WARNI]  Timeout for https://steamcommunity.com/market/. Try again.
2022-02-14 23:58:51,275 [ERROR]  Timeout for https://steamcommunity.com/market/ beyond the maximum(3) retry times. SKIP!

问题解决了,我做了以下的操作:
1、修改代理地址:proxy = socks5h://127.0.0.1:7890,必须得加h;
2、修改item_crawler.py第91行,改为“connector = ProxyConnector.from_url('socks5://127.0.0.1:7890', limit=5)”。不然会报错;
3、修改suggestion.py第38行,把“history_sold”修改成“sell_num”,因为history_sold变量值全是0;

感觉historysold那个可能是steam cookie没获取完整导致的,我这用完整的cookie爬了一遍historysold不是空的

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

No branches or pull requests

5 participants