Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audiobook download issue #40

Open
hawkeye2nd opened this issue Jan 1, 2022 · 1 comment
Open

Audiobook download issue #40

hawkeye2nd opened this issue Jan 1, 2022 · 1 comment

Comments

@hawkeye2nd
Copy link

Getting this error:
Traceback (most recent call last): File "C:\Users\A\AppData\Local\Programs\Python\Python310\Scripts\scribdl-script.py", line 33, in <module> sys.exit(load_entry_point('scribd-downloader==1.3.1', 'console_scripts', 'scribdl')()) File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\command_line.py", line 54, in _command_line downloaded_content = scribd_link.download(is_image_document=images) File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\downloader.py", line 39, in download content = self._download_audiobook() File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\downloader.py", line 84, in _download_audiobook playlist = audiobook.playlist File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 216, in playlist self._playlist = Playlist(self.title, self.make_playlist()) File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 286, in make_playlist if self.premium_cookies: File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 205, in premium_cookies premium_cookies = bool(self.license_id) File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 177, in license_id self._license_id = self._get_license_id() File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 225, in _get_license_id response = requests.get(self.license_url, headers=self.headers) File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 167, in license_url return "https://api.findawayworld.com/v4/accounts/scribd-{0}/audiobooks/{1}".format(self.author_id, self.book_id) File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 158, in author_id audiobook = self.audiobook_keys File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 106, in audiobook_keys audiobook_keys = self._scrape_audiobook_page() File "C:\Users\A\AppData\Local\Programs\Python\Python310\lib\site-packages\scribdl\content\audiobook.py", line 247, in _scrape_audiobook_page text = json.loads(div_tag["data-push_state"]) TypeError: 'NoneType' object is not subscriptable

@mrtztg
Copy link

mrtztg commented May 21, 2022

You can use this script:
https://github.com/mrtztg/scribd_dl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants