g-nie / scribd-dl Goto Github PK
View Code? Open in Web Editor NEWCommand-line program to download Scribd documents in pdf format
License: MIT License
Command-line program to download Scribd documents in pdf format
License: MIT License
AttributeError: 'NoneType' object has no attribute 'quit'
with scribd_dl.ScribdDL() as session:
session.download('https://www.scribd.com/document/352366744/', pages='1-3')
session.download('https://www.scribd.com/document/351688288/', pages='3-5')
for title in session.doc_titles:
print(title)
session.close()
I am trying to use the DL on a scribd page (https://www.scribd.com/doc/298463647/She-Loves-Me)
using this command: scribd-dl https://www.scribd.com/doc/298463647/She-Loves-Me
but I keep getting this error:
DevTools listening on ws://127.0.0.1:52702/devtools/browser/8db07dd0-447f-4390-b361-995020254a1d
[error] Chromedriver needs to be in assets directory or in PATH
Traceback (most recent call last):
File "c:\users\peterswanson\appdata\local\programs\python\python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\peterswanson\appdata\local\programs\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\peterswanson\AppData\Local\Programs\Python\Python37\Scripts\scribd-dl.exe_main.py", line 9, in
File "c:\users\peterswanson\appdata\local\programs\python\python37\lib\site-packages\scribd_dl_init.py", line 41, in main
scribd.download(URLS)
File "c:\users\peterswanson\appdata\local\programs\python\python37\lib\site-packages\scribd_dl\scribd_dl.py", line 140, in download
self.start_browser()
File "c:\users\peterswanson\appdata\local\programs\python\python37\lib\site-packages\scribd_dl\scribd_dl.py", line 106, in start_browser
self.driver.set_page_load_timeout(self.LOAD_TIME)
AttributeError: 'NoneType' object has no attribute 'set_page_load_timeout'
I suspect that this DL is not uptodate with the latest chrome and sellelim. What is the best way to procede?
Script fails to download file, returns Error: cannot establish a connection.
This seems to be independent of the URL.
python3 scribd_dl.py https://www.scribd.com/document/90403141/Social-Media-Strategy
[90403141] Visiting requested url
[90403141] Error: cannot establish a connection.
I wanted to download a pdf. Perhaps it ought to be integrated with this to get all files...
scribd-dl https://www.scribd.com/presentation/41048167/AOA-ppt
[41048167] Visiting requested url
[41048167] Error: this document is only a preview and not fully availabe for reading
scribd-dl https://www.scribd.com/document/440444961/A-Document-Name
[error] Chromedriver needs to be in assets directory or in PATH
Traceback (most recent call last):
File "/usr/local/bin/scribd-dl", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/scribd_dl/__init__.py", line 41, in main
scribd.download(URLS)
File "/usr/local/lib/python3.8/dist-packages/scribd_dl/scribd_dl.py", line 140, in download
self.start_browser()
File "/usr/local/lib/python3.8/dist-packages/scribd_dl/scribd_dl.py", line 106, in start_browser
self.driver.set_page_load_timeout(self.LOAD_TIME)
AttributeError: 'NoneType' object has no attribute 'set_page_load_timeout'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.