wget不会下载304 Not Modified文件

问题描述

我正在尝试使用i: int = 1 a: float = 0.1 print(max([i,a])) print(max(float(i),a)) # noinspection PyTypeChecker print(max(i,a)) 递归下载网站:

wget

它仅下载某些文件,而保留其他文件。经过仔细检查,我发现它不会下载返回wget --recursive --page-requisites --no-parent --convert-links -e robots=off --domains orteil.dashnet.org orteil.dashnet.org/cookieclicker``` 的文件。

此文件在Inspector中返回304 Not Modified,并且未下载。

A file returning 304

此文件在Inspector中返回304 Not Modified并被下载。

enter image description here

我猜这是因为200 OK假定不需要使用wget下载文件。如何强制它下载文件?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)