Package Details: audible-activator-git 1:0.2.r1.20210324.79e2cea-3

Git Clone URL: https://aur.archlinux.org/audible-activator-git.git (read-only, click to copy)
Package Base: audible-activator-git
Description: A script to retrieve your activation data (activation_bytes) from Audible servers. Use it to play your aax or aax+ files downloaded from amazon audible. Needs chrome or chromium.
Upstream URL: http://github.com/inAudible-NG/audible-activator
Licenses: GPL3
Conflicts: audible-activator
Provides: audible-activator
Submitter: dreieck
Maintainer: None
Last Packager: dreieck
Votes: 11
Popularity: 0.000000
First Submitted: 2016-08-31 07:58 (UTC)
Last Updated: 2023-05-02 14:56 (UTC)

Pinned Comments

dreieck commented on 2023-04-27 12:47 (UTC)

If you are looking for a working command line software that helps you retrieving your activation bytes from your audible account, please try audible-cli.

dreieck commented on 2023-04-27 12:44 (UTC) (edited on 2023-04-27 12:48 (UTC) by dreieck)

I can run the software with firefox mode or with chromedriver debug mode, but the activation bytes it returns are wrong (differing from what audible-cli returns, different from what I got many years ago, different from what works).

It might be that upstream has not followed up with changes at Amazon/ Audible and extracts wrong information?

Latest Comments

1 2 3 Next › Last »

pokulo commented on 2023-04-27 20:50 (UTC)

@dreieck thanks for the hint to audible-cli. There is probably no point in having this package maintained, as the upstream seems abandoned.

dreieck commented on 2023-04-27 12:49 (UTC)

I am disowning since it seems no longer to work properly. See this comment and this comment.

dreieck commented on 2023-04-27 12:47 (UTC)

If you are looking for a working command line software that helps you retrieving your activation bytes from your audible account, please try audible-cli.

dreieck commented on 2023-04-27 12:44 (UTC) (edited on 2023-04-27 12:48 (UTC) by dreieck)

I can run the software with firefox mode or with chromedriver debug mode, but the activation bytes it returns are wrong (differing from what audible-cli returns, different from what I got many years ago, different from what works).

It might be that upstream has not followed up with changes at Amazon/ Audible and extracts wrong information?

dreieck commented on 2023-04-27 12:33 (UTC)

@pokulo: Thanks for the hint. After applying the patch, I get other issues:

/tmp/tmp.ZnIzS1zBDt/./audible-activator.py:91: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
  driver = webdriver.Chrome(options=opts,
Traceback (most recent call last):
  File "/tmp/tmp.ZnIzS1zBDt/./audible-activator.py", line 202, in <module>
    fetch_activation_bytes(username, password, options)
  File "/tmp/tmp.ZnIzS1zBDt/./audible-activator.py", line 102, in fetch_activation_bytes
    search_box = driver.find_element('id','ap_email')
  File "/usr/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 830, in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
  File "/usr/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
    self.error_handler.check_response(response)
  File "/usr/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="ap_email"]"}
  (Session info: headless chrome=112.0.5615.165)
Stacktrace:
#0 0x55ca37cb4844 <unknown>
#1 0x55ca37a25ba2 <unknown>
#2 0x55ca37a60f2a <unknown>
#3 0x55ca37a61031 <unknown>
#4 0x55ca37a9bb25 <unknown>
#5 0x55ca37a8226d <unknown>
#6 0x55ca37a99b20 <unknown>
#7 0x55ca37a81fe3 <unknown>
#8 0x55ca37a547bf <unknown>
#9 0x55ca37a55e13 <unknown>
#10 0x55ca37c81e2b <unknown>
#11 0x55ca37c84ac2 <unknown>
#12 0x55ca37c84482 <unknown>
#13 0x55ca37c85245 <unknown>
#14 0x55ca37c8bc27 <unknown>
#15 0x55ca37c85630 <unknown>
#16 0x55ca37c62dde <unknown>
#17 0x55ca37ca0c47 <unknown>
#18 0x55ca37ca0e16 <unknown>
#19 0x55ca37cae9dd <unknown>
#20 0x7f1e6aa9ebb5 <unknown>

Regards!

pokulo commented on 2023-04-26 20:38 (UTC)

@dreieck that problem is appearently known upstream. There is at least one PR fixing this: https://github.com/inAudible-NG/audible-activator/pull/55/files

Looks like this project is not maintained anymore.

An idea would be to add the changes of that PR as a patch here intil it is merged.

dreieck commented on 2023-04-26 09:13 (UTC)

Actually, running this software currently fails for me with

Traceback (most recent call last):
  File "/tmp/tmp.ihz72yyyRX/./audible-activator.py", line 202, in <module>
    fetch_activation_bytes(username, password, options)
  File "/tmp/tmp.ihz72yyyRX/./audible-activator.py", line 102, in fetch_activation_bytes
    search_box = driver.find_element_by_id('ap_email')
AttributeError: 'WebDriver' object has no attribute 'find_element_by_id'

Since upstream has not enabled issue reporting in their repository, I cannot report the issue there.

dreieck commented on 2021-09-01 20:53 (UTC)

Switched the package to python3.

Thanks for all the comments!

pokulo commented on 2021-01-28 08:54 (UTC)

Please switch to Python3. This worked for me:

$ diff old/PKGBUILD new/PKGBUILD
6,7c6,7
< pkgver=0.2+r3.20181128.2e97c84
< pkgrel=4
---
> pkgver=0.2+r4.20200714.35cd22e
> pkgrel=1
20,23c20,23
<   "python2"
<   "python2-requests"
<   "python2-selenium"
<   "python2-urllib3"
---
>   "python"
>   "python-requests"
>   "python-selenium"
>   "python-urllib3"

The only new this is seemingly this log entry:

rm: cannot remove '/tmp/tmp.a6pumjLSYS/__pycache__': Is a directory

But I dont see any harm in this.

svenstaro commented on 2021-01-04 17:33 (UTC)

You can try to switch the package to Python 3. It should work according to upstream.