Coder Social home page Coder Social logo

scribd-dl's People

Contributors

g-nie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

scribd-dl's Issues

AttributeError: 'NoneType'

  • scribd-dl version: last
  • Python version: last

Description

AttributeError: 'NoneType' object has no attribute 'quit'

What I Did

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()

AttributeError: 'NoneType' object has no attribute 'set_page_load_timeout'

  • scribd-dl version: 0.4.5
  • Python version: 3.7
  • Operating System: Windows 10

Description

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?

Fails with `Error: cannot establish a connection`

  • scribd-dl version: 0.4.5
  • Python version: 3
  • Operating System: macOS

Description

Script fails to download file, returns Error: cannot establish a connection. This seems to be independent of the URL.

What I Did

python3 scribd_dl.py https://www.scribd.com/document/90403141/Social-Media-Strategy
[90403141]  Visiting requested url
[90403141]  Error: cannot establish a connection.

Preview documents via JS.

  • scribd-dl version: pip
  • Python version: 3.6.4
  • Operating System: Archlinux

Description

I wanted to download a pdf. Perhaps it ought to be integrated with this to get all files...

What I Did

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

AttributeError: 'NoneType' object has no attribute 'set_page_load_timeout'

  • scribd-dl version: 0.4.5
  • Python version: Python 3.8.5
  • Operating System: Ubuntu 20.10

This Was My Command

scribd-dl https://www.scribd.com/document/440444961/A-Document-Name

Error, That I Was Found

[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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.