Skip to main content

spcrawler: A command-line tool to backup Sharepoint public installations data from open API endpoint

Project description

spcrawler is a command-line tool to backup Sharepoint public installation data from open API endpoint It uses Sharepoint API located at “/_api/web” and dumps all data and resources.

1 Main features

  • Metadata extraction

  • Download all files (resources) from Sharepoint installation

2 Installation

2.1 Any OS

A universal installation method (that works on Windows, Mac OS X, Linux, …, and always provides the latest version) is to use pip:

# Make sure we have an up-to-date version of pip and setuptools:
$ pip install --upgrade pip setuptools

$ pip install --upgrade spcrawler

(If pip installation fails for some reason, you can try easy_install spcrawler as a fallback.)

2.2 Python version

Python version 3.6 or greater is required.

3 Usage

Synopsis:

$ spcrawler [command] [flags]

See also python -m spcrawler and spcrawler [command] --help for help for each command.

4 Commands

4.1 Ping command

Pings API endpoint located at url + “/_api/web” and returns OK if it’s available.

Ping asutk.ru API endpoint

$ spcrawler ping --url https://asutk.ru

4.2 Walk command

Lists objects in Sharepoint installation

Walks over FA.ru website objects

$ spcrawler walk --url http://fa.ru

4.3 Dump command

Dumps all objects/lists/data from API to JSON lines files. Stores all data to local path “domainname/data”

Dumps data from FA.ru (Financial university) website

$ spcrawler dump --url http://fa.ru

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spcrawler-1.0.1.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file spcrawler-1.0.1.tar.gz.

File metadata

  • Download URL: spcrawler-1.0.1.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for spcrawler-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bac072c72b50cfa40ce8dc1fa0429351acf93744c149995274387d39f80e060d
MD5 353ae57276d22bb14179521f5d21cdd8
BLAKE2b-256 08176a622f12267b5ec232e5b5879deb16ea3efd008ecda586a331a9c3f388b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page