TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Python script to download all Springer books released for free during Covid

56 点作者 kchhina大约 5 年前

4 条评论

vpap大约 5 年前
Actually I had done this:<p><pre><code> wget -O ~&#x2F;Downloads&#x2F;books.csv &#x27;https:&#x2F;&#x2F;link.springer.com&#x2F;search&#x2F;csv?facet-content-type=%22Book%22&amp;package=mat-covid19_textbooks&amp;fbclid=IwAR14_P6ZT4OoaHCYpxQCu_NtGLENhKOhfVD-b648OmS3TFM39gDZEhkDBS0&amp;facet-language=%22En%22&amp;sortOrder=newestFirst&amp;showAll=true&#x27; &amp;&amp; awk &#x27;BEGIN { FS = &quot;,&quot; }; { gsub(&quot;book&quot;,&quot;content&#x2F;pdf&quot;,$9) ; if ($9 ~ &#x2F;^&quot;http&#x2F;) { print &quot;wget --content-disposition -P ~&#x2F;Downloads&#x2F;springer &quot; $9; } }&#x27; &lt; ~&#x2F;Downloads&#x2F;books.csv | bash</code></pre>
chendii大约 5 年前
RIP Aaron Swartz
mariusmarais大约 5 年前
This is a nice tool and the Dockerfile is quite handy, but my guess is these books probably have a download limit per book since more used to be available.<p>Maybe use the script&#x27;s category or individual book modes to ensure more people can get access to them?
guiambros大约 5 年前
This is pretty useful; thanks for sharing.<p>There&#x27;s some good books I always wanted to take a look, but wasn&#x27;t ready to commit; this will help me decide. Smart move by Springer.