Skip to main content

PayNexus

目次

  1. プロジェクトについて
  2. インストール方法
  3. 環境
  4. モジュールについて

プロジェクトについて

PythonからWayback Machineのアーカイブ(サイト)をダウンロードするモジュールです。

ベースモジュール
公式サイト
・公式Github(使い方など)はこちら

インストール方法

こちらのPyPIパッケージを、 pip install ArcDLNexus などのコマンドでインストールしてください。
※お好みでバージョンを指定してください

環境

言語・フレームワーク バージョン
Python 3.9.19

モジュール(パッケージ)のバージョンは requirements.txt を参照してください

モジュールについて

タスク

  • モジュールを公開する

ドキュメント

関数 パラメータ 説明
download url -- str: アーカイブのURL* アーカイブは次のような形式で、日付が指定されている必要があります。https://web.archive.org/web/{アーカイブの日付}/{サイトのURL}
path -- str: ファイルを保存するフォルダパス c:\のような絶対パスではなく、OSに縛られない./などの相対パスのみサポートしています。デフォルトは「./archive_download」です。
mode -- str: モード(0~2) モードは3種類に分けられています。
モード0 - アーカイブをダウンロードして復元のみ: ウェブページをアーカイブからダウンロードして元の状態に復元し、関連ファイルはダウンロードされず、ページの表示に必要なファイルやリソースはすべてアーカイブ前のURLから取得します。
モード1 - 関連ファイルを可能な限りダウンロード + モード0の機能: ウェブページのアーカイブをダウンロードし、そのページに関連するファイル(画像、スクリプト、スタイルシートなど)も可能な限りダウンロードし、ページを完全に表示するために必要なすべてのリソースが揃います(手動処理必要)。
モード2 - ダウンロードしたファイルで既存の関連ファイルURLを上書き + モード0と1の機能: ウェブページのアーカイブをダウンロードし、関連するすべてのファイルをダウンロードし、必要なファイルやリソースのURLをダウンロードしたファイルのパスに上書きし(ダウンロードできなかった場合はスルー)、ページを完全にオフラインで閲覧できるようにします。

使用例

import ArcDLNexus

ArcDLNexus.download(url="https://web.archive.org/web/20240204090521/https://home.disnana.com/",
                         path="./recovery_archive/",
                         mode=2)

※タスクが完了していてもモジュールが更新されていない場合がございます(その際は時間を空けてご確認ください)

Metadata

Release files for ArcDLNexus 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ArcDLNexus 0.1.5
File Size Uploaded
arcdlnexus-0.1.5.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ArcDLNexus 0.1.5
File Interpreter ABI Platform
ArcDLNexus-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / arcdlnexus-0.1.5.tar.gz

Download URL arcdlnexus-0.1.5.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f1ed01b27702bb6e5b3c73aaa7220fe2eb63a12337088486480a505f1a19c8a6
BLAKE2b-256 checksum
How to use checksums
0bd9cbd39e795a764b902695b43dfff51945623f2b14c7f8f7f79726959730db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.13

Release files / ArcDLNexus-0.1.5-py3-none-any.whl

Download URL ArcDLNexus-0.1.5-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf274d51d7fab64f9af21eae69f876433a0658a07bc6e06c5d8950de4c527233
BLAKE2b-256 checksum
How to use checksums
01add76be40f8f23ce204e2f7d736b7200c02cb8e09bffa11367a72fd331367e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page