Comments (18)
I have been working on it, but I would like to get another login for testing. Not sure my current implementation works. It is pushed to Github.
from audiobook-dl.
Your last implementation seems to work good for me.
from audiobook-dl.
Yourcloudlibrary support should work now.
from audiobook-dl.
C:\audiobook-dl-master>audiobook-dl -c âĒC:\audiobook-dl-master\cookies-ebook-yourcloudlibrary-com.txt https://ebook.yourcloudlibrary.com/library/guelphpl/AudioPlayer/6np95r9
Finding compatible source
Traceback (most recent call last):
File "C:\Program Files\Python39\Scripts\audiobook-dl-script.py", line 33, in
sys.exit(load_entry_point('audiobook-dl==0.3.0', 'console_scripts', 'audiobook-dl')())
File "C:\Program Files\Python39\lib\site-packages\audiobook_dl-0.3.0-py3.9.egg\audiobookdl_main_.py", line 37, in run
File "C:\Program Files\Python39\lib\site-packages\audiobook_dl-0.3.0-py3.9.egg\audiobookdl\utils\source.py", line 41, in load_cookie_file
File "C:\Program Files\Python39\lib\http\cookiejar.py", line 1798, in load
with open(filename) as f:
OSError: [Errno 22] Invalid argument: '?C:\audiobook-dl-master\cookies-ebook-yourcloudlibrary-com.txt'
from audiobook-dl.
C:\audiobook-dl-master>audiobook-dl -c C:\audiobook-dl-master\cookies-yourcloudlibrary-com.txt https://ebook.yourcloudlibrary.com/library/guelphpl/AudioPlayer/6np95r9
Finding compatible source
Downloading metadata
Traceback (most recent call last):
File "C:\Program Files\Python39\Scripts\audiobook-dl-script.py", line 33, in
sys.exit(load_entry_point('audiobook-dl==0.3.0', 'console_scripts', 'audiobook-dl')())
File "C:\Program Files\Python39\lib\site-packages\audiobook_dl-0.3.0-py3.9.egg\audiobookdl_main_.py", line 43, in run
File "C:\Program Files\Python39\lib\site-packages\audiobook_dl-0.3.0-py3.9.egg\audiobookdl\download.py", line 17, in download
File "C:\Program Files\Python39\lib\site-packages\audiobook_dl-0.3.0-py3.9.egg\audiobookdl\sources\yourcloudlibrary.py", line 28, in before
TypeError: 'NoneType' object is not iterable
C:\audiobook-dl-master>
from audiobook-dl.
I encounter these two errors.
from audiobook-dl.
Are you sure you downloaded the newest version? I just pushed some changes and those errors don't match the new code.
from audiobook-dl.
I just tested the newest version on Ubuntu 20.04.4. I had no Issues.
from audiobook-dl.
I did use the newest version, and I export the cookies like I did with scribd, maybe I did something wrong.
from audiobook-dl.
Try to download audiobook-dl again. Maybe something went wrong. The errors doesn't seem right.
from audiobook-dl.
With the latest version I get the below error with debug on:
audiobook-dl -c cookies.txt https://ebook.yourcloudlibrary.com/library/nypl/AudioPlayer/9e66kr9 -d
DEBUG Searching for missing dependencies
Finding compatible source
Downloading metadata
DEBUG Failed to download data from: https://ebook.yourcloudlibrary.com/uisvc/nypl/Patron/Borrowed
Response:
b'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">\r\n<HTML><HEAD><TITLE>Bad Request</TITLE>\r\n<META HTTP-EQUIV="Content-Type" Content="text/html;
charset=us-ascii"></HEAD>\r\n<BODY><h2>Bad Request - Request Too Long</h2>\r\n<hr><p>HTTP Error 400. The size of the request headers is too long.</p>\r\n</BODY></HTML>\r\n'
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/__main__.py", line 53, in run
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/download.py", line 17, in download
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/sources/yourcloudlibrary.py", line 76, in before
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/sources/yourcloudlibrary.py", line 63, in _get_bookinfo
audiobookdl.utils.exceptions.UserNotAuthenticated
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<frozen zipimport>", line 177, in get_data
KeyError: 'audiobookdl/assets/errors/missing_cookies.txt'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/audiobook-dl", line 11, in <module>
load_entry_point('audiobook-dl==0.3.0', 'console_scripts', 'audiobook-dl')()
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/__main__.py", line 55, in run
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/utils/exceptions.py", line 11, in print
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/utils/messages.py", line 13, in print_error
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/utils/messages.py", line 6, in read_asset_file
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1148, in resource_string
return get_provider(package_or_requirement).get_resource_string(
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1393, in get_resource_string
return self._get(self._fn(self.module_path, resource_name))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1469, in _get
return self.loader.get_data(path)
File "<frozen zipimport>", line 179, in get_data
OSError: [Errno 0] : 'audiobookdl/assets/errors/missing_cookies.txt'
from audiobook-dl.
@jaegercoder I think there are too many cookies in the cookie file. Try only exporting cookies from yourcloudlibrary.
from audiobook-dl.
Well. I changed the cookies to only include ebook.yourcloudlibrary.com. But encounter this error
audiobook-dl -c cookies-ebook-yourcloudlibrary-com.txt https://ebook.yourcloudlibrary.com/library/nypl/AudioPlayer/9e66kr9 -d
DEBUG Searching for missing dependencies
Finding compatible source
Downloading metadata
Traceback (most recent call last):
File "/usr/local/bin/audiobook-dl", line 11, in <module>
load_entry_point('audiobook-dl==0.3.0', 'console_scripts', 'audiobook-dl')()
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/__main__.py", line 53, in run
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/download.py", line 17, in download
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/sources/yourcloudlibrary.py", line 78, in before
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/sources/yourcloudlibrary.py", line 45, in _get_fullfillmenttoken
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/utils/source.py", line 187, in find_in_page
NameError: name 're' is not defined
from audiobook-dl.
@jaegercoder I think I fixed to problem. Try again with cookies from ebook.yourcloudlibrary.com.
from audiobook-dl.
@jo1gi Thanks for working on this but now I get "List index out of range error. The data displayed in debug mode is quite huge hence not pasting it here. Let me know if you want the output with debug on.
audiobook-dl -c cookies-ebook-yourcloudlibrary-com.txt https://ebook.yourcloudlibrary.com/library/nypl/AudioPlayer/9e66kr9 >> debug.txt
Finding compatible source
Downloading metadata
Traceback (most recent call last):
File "/usr/local/bin/audiobook-dl", line 11, in <module>
load_entry_point('audiobook-dl==0.3.0', 'console_scripts', 'audiobook-dl')()
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/__main__.py", line 53, in run
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/download.py", line 23, in download
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/utils/source.py", line 125, in metadata
File "/usr/local/lib/python3.8/dist-packages/audiobook_dl-0.3.0-py3.8.egg/audiobookdl/sources/yourcloudlibrary.py", line 38, in get_metadata
IndexError: list index out of range
from audiobook-dl.
@jaegercoder Made some new changes. Let's try again.
from audiobook-dl.
@jaegercoder Made some new changes. Let's try again.
Works perfectly now. Thanks
from audiobook-dl.
I tried the latest version, now my problem is also solved.
from audiobook-dl.
Related Issues (20)
- Podimo not working
- ERROR: Missing data from source on Ubuntu HOT 1
- Audiobooks.com > No module named 'urllib3.packages.six.moves' HOT 2
- Installation Incomplete?
- AAC to MP3 conversion for macos
- Everend bulk download aborts on unavailable books HOT 1
- Problem with download from Storytel HOT 14
- Does chapter support work on everand? HOT 5
- JSON error with Blinkist HOT 2
- attrs module not found HOT 2
- Nextory KeyError: 'product_lists' HOT 4
- Only got a 2 minute clip HOT 2
- New storytel rewrite returns 403 response
- Low quality of books downloaded from Storytel HOT 3
- Unknown bug for new installation HOT 1
- Cannot Get Working HOT 1
- Config Questions
- Requesting to add Fonos
- SSL: CERTIFICATE_VERIFY_FAILED error
- ID3 metadata updates error with characters in the unicode range HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiobook-dl.