This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 特定のサイトの全URLを表示するには | |
| https://web.archive.org/cdx/search/cdx?url=example.com*&output=txt | |
| とする。 | |
| 以下はMinetypeがtext/htmlでステータスコードが200のURLを100件表示する。 | |
| http://web.archive.org/cdx/search/cdx?url=example.com*&limit=100&filter=statuscode:200&mimetype:text/html | |
| &collapse=urlkeyを付けると重複削除できるが重くなるらしい。 | |
| 参考: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| setlocal enabledelayedexpansion | |
| REM ファイルが存在しない場合は作成 | |
| if not exist archived.txt type nul > archived.txt | |
| REM 各MP3ファイルを処理 | |
| for %%F in (*.mp3) do ( | |
| REM ファイルのハッシュ値を計算(SHA-256を使用) | |
| set "hash=" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| https://archive.org/account/s3.php | |
| からキーを作成し, | |
| ./setting.jsonに記載しておく | |
| Save Page Now 2 Public API Docs Draft | |
| https://docs.google.com/document/d/1Nsv52MvSjbLb2PCpHlat0gkzw0EvtSgpKHu4mk0MnrA/edit | |
| """ | |
| import requests | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from waybackpy import WaybackMachineSaveAPI | |
| import sys | |
| import json | |
| from tqdm import tqdm | |
| import os | |
| args = sys.argv | |
| v = "" | |
| file_size = os.path.getsize(args[1]) |