File size: 3,496 Bytes
cf1ce47
 
 
 
 
 
 
 
91f92f7
 
 
 
 
f6f0c71
 
58293b7
 
 
acf17aa
f6f0c71
91f92f7
 
 
 
 
 
 
 
 
 
f6f0c71
 
 
 
8c0e214
f6f0c71
 
 
8c0e214
f6f0c71
 
 
 
8e7c043
f6f0c71
acf17aa
 
 
f6f0c71
 
 
58293b7
acf17aa
f6f0c71
 
 
acf17aa
 
58293b7
f6f0c71
 
58293b7
f6f0c71
8e7c043
 
 
58293b7
8e7c043
 
f6f0c71
 
58293b7
acf17aa
8e7c043
acf17aa
 
58293b7
 
 
 
 
 
 
 
 
 
8e7c043
 
 
 
 
58293b7
 
 
8e7c043
91f92f7
 
 
 
f6f0c71
91f92f7
9765f38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
title: scribd-dl-hf
sdk: docker
emoji: 📄
colorFrom: green
colorTo: blue
---

# Scribd-dl ![nodedotjs](https://img.shields.io/badge/node.js-v21.6-339933.svg?style=flat&logo=nodedotjs&logoColor=white) ![npm](https://img.shields.io/badge/npm-10.2-dc2c35.svg?style=flat&logo=npm&logoColor=white)  

<a href="https://buymeacoffee.com/r1y5i" target="_blank">
<img style="border-radius: 20px" src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174">
</a>

## About ##
Scribd-dl helps downloading:
- documents on [scribd.com](https://www.scribd.com/) and [slideshare.net](https://www.slideshare.net/) without membership / sign-in  
- podcast audios on [everand.com](https://www.everand.com/podcasts)  

## Prerequisites ##
To use Scridb-dl, you need to install [Node.js](https://nodejs.org/en/download/). It is recommended that you use the latest LTS version available.  

> Please install Node.js using pre-built installers for your platform. You may encounter incompatibility issues with different development tools otherwise.  

To check that Node.js was installed correctly, type the following commands in your terminal client:  
```console
node -v
npm -v
```
The commands should print the versions of Node.js and npm accordingly.  

## Setup ##
1. Download repository  
```console
git clone https://github.com/rkwyu/scribd-dl
```
2. Install dependencies
```console
cd ./scribd-dl
npm install
```

## Configuration ##
Configuration can be altered in `config.ini`.  
```ini
[SCRIBD]
rendertime=100

[DIRECTORY]
output=output
```
`rendertime` is the waiting time in millisecond for single page rendering on [scribd.com](https://www.scribd.com/), it is only applicable for `default` mode.  
`output` is the ouput directory for generated .pdf files.

## Usage (CLI) ##
```console
Usage: npm start [options] url
Options:  
  /i        image-based: generated by image snapshots taken for pages on scribd.com
```

#### Example 1: Download 《The Minds of Billy Milligan》 on scribd.com ####
```console
npm start "https://www.scribd.com/doc/249398282/The-Minds-of-Billy-Milligan-Daniel-Keyes"
```

#### Example 2: Download 《The Minds of Billy Milligan》 using `image-based` method on scribd.com ####
```console
npm start /i "https://www.scribd.com/doc/249398282/The-Minds-of-Billy-Milligan-Daniel-Keyes"
```

#### Example 3: Download 《Everything You Need To Know About ChatGPT》 on slideshare.net ####
```console
npm start "https://www.slideshare.net/slideshow/everything-you-need-to-know-about-chatgpt-8ba3/266783915"
```

#### Example 4: Download all 《TED Talks Daily》 episodes on everand.com ####
```console
npm start "https://www.everand.com/podcast-show/414106971/TED-Talks-Daily"
```

#### Example 5: Download 《Sunday Pick: How to care for the people who take care of us (w/ Ai-jen Poo)》 on everand.com ####
```console
npm start "https://www.everand.com/listen/podcast/731670963"
```

## Support URL Format ##
- https://www.scribd.com/doc/**
- https://www.scribd.com/embeds/**
- https://www.slideshare.net/**
- https://www.slideshare.net/slideshow/**
- https://www.everand.com/podcast-show/**
- https://www.everand.com/podcast/**
- https://www.everand.com/listen/podcast/**

## Development Plan ##

- Scribd obfuscates the .pdf files, the texts copied from the documents might become strange garbled message. De-obfuscating is one of the future plan.

## License ##
This project is licensed under the [MIT License](LICENSE.md)