1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Google Drive上のpdfをchromeで画像単位でダウンロードした

Last updated at Posted at 2020-01-19

はじめに

※一応Chrome Extensionを導入するので,導入については完全に自己責任でお願いします.

Google Driveに上がっているpdfで,たまに直接pdfに出来なくて,ちまちまスクショする必要がある場合がありますが,
そんな時でもpdfを画像単位にして一括でダウンロードする方法があります

用意するもの

やり方

1.Chromeで上記のExtentionをインストールして,ブラウザを再起動します
2.追加されたアイコンをクリックします
icon.png
3.開きたいdrive上のpdfファイルを開きます
4.デバッグツールモードに入ります(通常はF12キーで開きます)
5.ツールバーのResourceSaverを開きます(画像のように隠れている場合があります)
rs.png
6.' Include all assets by XHR requests (require page reload).'のチェックを入れます
7.チェックしたらページがリロードされるので,pdf全体をスクロールして,ドキュメント全体を読み込みます.
8.全部読み込んだら'Save All Resources'をクリックします
9.ダウンロードされたzipファイルの中の,'drive.google.com/drive.google.com/viewerng'を開きます

結果

result.png

こんな感じで,pdfの中身がダウンロードされます.
筆者の環境ではpngとhtmlが混ざっていましたが,中身は全部pngだったので,拡張子をリネームしてあげればよいはずです

応用先

第三者委員会からの調査報告書

おわりに

いかがでしたでしょうか
Google Driveに限らずwebでブラウザ上で生成されるコンテンツを一括でダウンロードしたいみたいな状況で色々使えると思うので,みなさんお気軽にお試しください.

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?