中小学教科书PDF电子版下载教程

教育部“国家中小学智慧教育平台”于2022年3月1日正式上线试运行。包含67家出版单位的1991册电子版pdf高清教材,可供广大师生自主免费下载使用。

下载步骤:

  1. 访问中小学智慧教育平台:https://basic.smartedu.cn/
  2. 点击教材,选择学段、学科、版本、年级和册次,然后点击书本名称。
  3. 提示需要登录后查看。可以免费注册账号并登录,可以看到在线预览。
  4. 课本页面加载完成后点击 F12,点击开发者控制台上方的“控制台”选项,粘贴附录代码并单击回车执行,然后静待下载完成。(chrome可能会提示:Warning: Don’t paste code into the DevTools Console that you don’t understand or haven’t reviewed yourself. This could allow attackers to steal your identity or take control of your computer. Please type ‘allow pasting’ below to allow pasting.需要先输入allow pasting)

附:粘贴到控制台的代码:[1]

let pdfViewerURL = new URL(document.querySelector("iframe").src);
let pdfURL = pdfViewerURL.searchParams.get("file");
let headers = new Headers();

headers.append("X-ND-AUTH", JSON.parse(pdfViewerURL.searchParams.get("headers"))["X-ND-AUTH"]);

console.log("开始下载......");
fetch(pdfURL, { headers })
   .then((response) => response.blob())
   .then((result) => {
      const a = document.createElement("a");
      a.href = URL.createObjectURL(result);
      a.download = document.querySelector(".index-module_title_bnE9V")?.innerText + ".pdf";
      a.click();
   });

参考

  1. ^https://paste.ubuntu.com/p/t4dfnhh2rr/
本文作者: Colin
本文链接: https://www.colinjiang.com/archives/download-tutorial-for-pdf-version-of-primary-and-secondary-school-textbooks.html
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 4.0 许可协议。转载请注明出处!

评论

  1. Windows Chrome 114.0.5735.289
    4周前
    2024-2-20 16:34:11

    这个很好,让小朋友提前熟悉下学期内容

  2. Macintosh Safari 17.2.1
    2月前
    2024-1-19 20:01:12

    一打开首页之后居然排在前面的是党史学习……然后注册账号还必须 +86 的手机号,无语了

  3. Windows Chrome 120.0.0.0
    2月前
    2024-1-18 21:47:59

    这个太实用了

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇