sviatoslav-lebediev / anki-quizlet-importer-extended

75 stars 11 forks source link

Quizlet importer still not working after 6/18/23 update :( #98

Closed jessm-ess closed 1 year ago

jessm-ess commented 1 year ago

Hello,

I tried importing a quizlet deck after the update and it seemed to work at first. However, after downloading the first 9 cards, an error occurs.

See below:

Error An error occurred. Please start Anki while holding down the shift key, which will temporarily disable the add-ons you have installed. If the issue only occurs when add-ons are enabled, please use the Tools > Add-ons menu item to disable some add-ons and restart Anki, repeating until you discover the add-on that is causing the problem. When you've discovered the add-on that is causing the problem, please report the issue to the add-on author. Debug info: Anki 2.1.65 (aa9a734f) Python 3.9.15 Qt 6.5.0 PyQt 6.5.0 Platform: macOS-13.4-x86_64-i386-64bit Flags: frz=True ao=True sv=2 Add-ons, last update check: 2023-06-18 13:23:16 Add-ons possibly involved: ⁨Quizlet to Anki 21 Importer with audio support⁩

Caught exception: Traceback (most recent call last): File "/Users/jessienickolas/Library/Application Support/Anki2/addons21/1362209126/init.py", line 373, in onCode self.createDeck(deck) File "/Users/jessienickolas/Library/Application Support/Anki2/addons21/1362209126/init.py", line 438, in createDeck file_name = self.fileDownloader(item["imageUrl"]) File "/Users/jessienickolas/Library/Application Support/Anki2/addons21/1362209126/init.py", line 480, in fileDownloader raise e File "/Users/jessienickolas/Library/Application Support/Anki2/addons21/1362209126/init.py", line 471, in fileDownloader r = urllib2.urlopen(urllib2.Request(url, headers=headers)) File "urllib.request", line 214, in urlopen File "urllib.request", line 523, in open File "urllib.request", line 632, in http_response File "urllib.request", line 561, in error File "urllib.request", line 494, in _call_chain File "urllib.request", line 641, in http_error_default urllib.error.HTTPError: HTTP Error 403: Forbidden

Quizlet URL: https://quizlet.com/810470703/introduction-to-clinically-oriented-anatomy-flash-cards/?funnelUUID=5c65f270-56db-46df-9d9b-fbd1daff74c9

Please assist and thank you for all that you do!

sviatoslav-lebediev commented 1 year ago
File "/Users/jessienickolas/Library/Application Support/Anki2/addons21/1362209126/init.py", line 438, in createDeck
file_name = self.fileDownloader(item["imageUrl"])
urllib.error.HTTPError: HTTP Error 403: Forbidden

This means that for some reason quizlet doesn't allow downloading some images. I would recommend checking Skip errors checkbox and after the import check the imported images, some of them will be absent (you can add them manually).

jessm-ess commented 1 year ago

Okay, I will try this!

Thank you!

On Sun, Jun 18, 2023 at 4:26 PM sviatoslav-lebediev < @.***> wrote:

File "/Users/jessienickolas/Library/Application Support/Anki2/addons21/1362209126/init.py", line 438, in createDeck file_name = self.fileDownloader(item["imageUrl"]) urllib.error.HTTPError: HTTP Error 403: Forbidden

This means that for some reason quizlet doesn't allow downloading some images. I would recommend checking Skip errors checkbox and after the import check the imported images, some of them will be absent (you can add them manually).

— Reply to this email directly, view it on GitHub https://github.com/sviatoslav-lebediev/anki-quizlet-importer-extended/issues/98#issuecomment-1596256490, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVGRO5BK5W2FQQTHTKFDT3XL5P6VANCNFSM6AAAAAAZLA5GLQ . You are receiving this because you authored the thread.Message ID: <sviatoslav-lebediev/anki-quizlet-importer-extended/issues/98/1596256490@ github.com>

sviatoslav-lebediev commented 1 year ago

I'm going to close this issue, create a new one if you still can't import

jessm-ess commented 1 year ago

It worked!

Thank you,

Jess

On Mon, Jun 19, 2023 at 5:26 AM sviatoslav-lebediev < @.***> wrote:

I'm going to close this issue, create a new one if you still can't import

— Reply to this email directly, view it on GitHub https://github.com/sviatoslav-lebediev/anki-quizlet-importer-extended/issues/98#issuecomment-1596833473, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAVGRO2TLOKFMDI2UN4MQWTXMALNTANCNFSM6AAAAAAZLA5GLQ . You are receiving this because you authored the thread.Message ID: <sviatoslav-lebediev/anki-quizlet-importer-extended/issues/98/1596833473@ github.com>