96 21
Contact Author Sign in to rate

Improved Quizlet to Anki 2.1 Importer

<10kB. Updated 2020-07-22. Only supports Anki 2.1.x.
The author has shared 27 other item(s).

Description

Source: https://ankiweb.net/shared/info/590899480 It's been updated to Anki 2.1 and added macOS support. There's also the updated version of this add-on with audio support - https://ankiweb.net/shared/info/1362209126 Additional Changes: • Replace *text* with text • Replace \n with <br> on the Front too • Download private or password-protected sets using cookies Install Anki 2.1.20, update the add-on and restart Anki. Then go to Tools - Add-ons - Improved Quizlet ... - Config and either set "cookies" or "qlts" and click OK. To set "cookies", open Chrome DevTools, click the Network tab, reload the page or press Ctrl+R, click on the first request and copy "cookies" value from the request headers. To set "qlts", open Chrome DevTools, click the Application tab, and copy "qlts" value from the Cookies pane - https://developers.google.com/web/tools/chrome-devtools/storage/cookies It's easier to set "qlts" and if it's not empty it takes precedence over "cookies". After this is done it should be possible to download your private or password-protected sets for a limited period of time without making them public. Nickolay <kelciour@gmail.com>

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

538351043

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1596754939
Super helpful! Thank you!
on 1596563978
não tenho perg
on 1595629554
Thank you! This is absolutely helpful! One request: could you make something like this for memorang, please? Thank you!
on 1595174421
The Quizlet set has to be public and then it works exactly as stated. Images came in. No problems. Very pleased. Thank you for creating this add-on.
on 1594264680
Easy Peasy. Thank you!
on 1594091856
This worked really well. Only issue I found was that when copying the cookie from the request header, it had some extra quotation marks that needed to be escaped so that the add-on won't complain about JSON parsing issues.
on 1594052406
Very useful. Thanks!
on 1593975357
Perfect.
on 1593011807
You are amazing! Thank you!
on 1592660720
Super convenient add-on. If it ever doesn't work for me, I quickly make a new profile and it will work perfectly. Then I export the deck and open it into my main profile.
on 1591969402
GREAT WORK
on 1591001981
Thank you. I used this add-on for a long time and was very satisfied with it. But since few days ago I have becoming errors. I hope it would get fixed soon.
on 1590137611
good, but there is no audio
please add audio
on 1588614979
Works
on 1588299003
Great work! This addon continue to impress me. I would like to request adding the following line so new deck of cards does not contain "Flashcards" before the name of the deck added. (ex. Flashcards CoolDeckName). Thank you very much.

Added after line 350 ( title = re.sub(r' \| Quizlet$', '', title) )
title = re.sub(r'Flashcards', '', title)

EDIT: Thank you for the fix in the new update.
on 1588181991
Love this add on. Thank you to the developer for all the recent work. It works great!
on 1588148422
Super easy and works perfectly! You just paste the Quizlet URL and Anki automatically makes the deck for you. Amazing!
on 1587747059
Very easy to use. Thank you.
on 1587487100
Super easy.
on 1586925363
LOVE THIS ADD-ON it literally saves my life and works so well

one favor, if poss (and I know this is so nitpicky but trying to automate the import of a bunch of decks)-- Would it be possible to activate the button press on "import deck" using {enter} instead of just the button press?
on 1585398888
If you have a problem, just 1) remove this add-on, 2) exit from Anki, 3) Open Anki, 4) add this add-on again, 5) exit from Anki, 6) Open Anki.

This is a great add-on
on 1585277690
Amazing! The work of others will save you time for making class specific cards now! Try uninstalling/reinstalling if you have any difficulties. Another thing I noticed is some quizlet deck names seem to interfere with Anki's limitations, so import the deck to your own account on quizlet with a shorter simple name. Then add the deck.
on 1584459743
Very good quizlet importer
*** Had problem with 'sorry this deck is private' error - this is fixed straight away by uninstalling and reinstalling the add-on
on 1583853044
It didn't work as others say.
You can fix it by re-installing the add-on.
on 1583817671
works great!
on 1583660691
Thank you, It works. If you follow this ▽. Even if you want to import a public deck, these processes must be preceded, I guess.
It seems that if you fill up these config options once, there is no problem in importing public decks. Maybe you'll need to check them again when you have to import private decks.
So please open your quizlet deck page in Chrome, and follow these steps in the description.
-----------------------------------
To set "cookies", open Chrome DevTools, click the Network tab, reload the page or press Ctrl+R, click on the first request and copy "cookies" value from the request headers.

To set "qlts", open Chrome DevTools, click the Application tab, and copy "qlts" value from the Cookies pane - https://developers.google.com/web/tools/chrome-devtools/storage/cookies

It's easier to set "qlts" and if it's not empty it takes precedence over "cookies".
-----------------------------
Edited: 2020 3/6 → 2020 3/8 It works well so far. Even if I'm not using Anki 2.1.20 now.(Still using 2.1.16 now)
on 1583337685
Not working anymore. Keep getting "sorry, it's a private deck :(", even though the deck isn't. The extension worked fine a month ago, not sure what's up.
on 1583252088
Not working. "Sorry Private Deck" message occurs with non-private decks. Unable to import anything.
on 1583187424
Not working. Every time I try to import a deck it says it's a private deck, although it isn't.
on 1582591238
Great add on!
on 1582381905
It is great when it works, because it saves me loads of time! However, the last few times I have used this add on to import cards from quizlet, I kept getting errors.
on 1582294635
Big thanks for creating this addon. It saves me a lot of time.
Woking as expected and very easy to use.
on 1582087329
Developer added the option to download private quizlet sets which is beyond amazing!
on 1582042821
Works with 2.1.20! Update Anki and then update the plugin. Will fix all of your problems.
on 1581966195
like people have said update to Anki 2.1.20 and get the updated add-on and it'll work again.

love this add-on beautiful
on 1581671979
Thanks to the comments, everything's working again. I'm relieved bc I can't live without this add-on. Like others have said: delete the add-on, download and install the newest Anki (2.1.20), and install the add-on. Be aware that if you update Anki, your other add-ons might break.
on 1581389194
Deleted the add-on, updated Anki and re-install and it works like the others have said!! Thanks.
on 1581262579
EDIT: the instructions somebody below gave worked, just needed to update anki itself

this add on has helped for a while and it worked perfectly, but i think quizlet must have changed something cause it no longer works and an error message pops up
on 1581206346
fantastic job as always.

new update working perfectly.
on 1581101782
Hi everyone. I was having the same issues that a lot of you are having with the 401 error.
Here is how it got resolved for me.
1. Uninstalled the "Improved Quizlet to Anki 2.1 Importer"
2. Downloaded and installed the newest version of Anki (I went to 2.1.19)
3. Reinstalled the "Improved Quizlet to Anki 2.1 Importer"

And this worked for me!
on 1581091731
Awesome!!
on 1581091330
Works fine for me, I just had to update Anki to the lastest version as well as the add-on and the problem was solved :)
on 1581050087
after updating it works good
on 1581012630
Did everything suggested, its still not working?
on 1580968244
loved it
on 1580957080
UPDATE: Works again! Great job dev!

Here are the fixes users have suggested to get it to work:

- Tools>Addons>Check for Updates (Updates all addons)
- Uninstalling and reinstalling the addon
- Updating Anki

I updated my Anki, and that worked for me.
----------------------------------------------------------------------------

Normally a very great plugin that I'd rate thumbs up, but as the guy before me said: it no longer works. I get the same error (error 401) that he does:

{
"http_code": 401,
"error": "invalid_credentials",
"error_title": "Not Allowed",
"error_description": "The client ID provided is unknown"
}
on 1580950776
my add on is still not working and saying the same error even after I deleted it, added it again and restarted anki :(
on 1580933652
I could not get this add-on to work yesterday but it's working again today. I just used Tools/Add-ons/Check for Updates.
This is a great add-on and enormously useful.
Many thanks to the author.
on 1580932773
Oh no! This is a great add on i hope it gets fixed. Getting an error 401 message.
on 1580907219
Add on no longer working for a public Quizlet deck. Tried uninstalling and reinstalling but it did not help.

Getting this error:

{
"http_code": 401,
"error": "invalid_credentials",
"error_title": "Not Allowed",
"error_description": "The client ID provided is unknown"
}
on 1580853452
Uninstalled the add on, reinstalled and restarted anki and back to working. Shoutout to the creator for fixing it. For reference, I have whichever anki version came out right before 2.1.19
on 1580852160
Was getting error 401 messages, then I downloaded the newest anki update (19), deleted add on and reinstalled it, and seems to have fixed the problem! Great add-on! :)
on 1580833581
Doesn't work anymore
on 1580826032
No longer working. Did not get resolved after deleting and reinstalling add on.
on 1580809843
Not working anymore
on 1580788773
doesn't work
on 1580786324
Not working - Error 401 unautorized!. On the same deck that I imported yesterday, no longer works!
on 1580774145
No longer working, throwing up this error:

{
"http_code": 401,
"error": "invalid_credentials",
"error_title": "Not Allowed",
"error_description": "The client ID provided is unknown"
}
on 1575759914
It helps IMPORT Quizlet public/shared decks easily.
on 1575228767
Thank you very much for building this plugin, I appreciate it that you put effort into building a plugin like this to help the Anki community, and making it easier to use.
on 1574620713
works as described - many thx!
on 1573966483
loveeeeeee it. thank you so much
on 1573922771
This worked very simple and easy, way easier than I expected it to be.
on 1571405649
THIS WORKS GREAT!

After restarting, Tools -> Import from Anki -> enter Quizlet URL
on 1571012372
Amazingly useful work!
on 1571012358
This addon is EXTREMELY BRILLIANT!
on 1569011545
so good
on 1567893270
works perfectly, as mentioned
on 1566772597
Followed the instructions and worked perfectly on version 2.1.15.
on 1566276810
Works flawlessly and QUICK holy crap
on 1566270748
Thank you so much! Works well on 2.1.14, with no issues

After a restart of Anki, Go to "Tools" -> "Import from quizlet" -> insert URL code
on 1565634829
Works!
on 1565318337
Thank
on 1564022890
Worked perfectly to import into a deck.
on 1562077658
Does not work, unfortunately. It creates an empty deck and this error appears:


Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
File "C:\Users\flint\AppData\Roaming\Anki2\addons21\538351043\__init__.py", line 216, in onCode
self.createDeck(deck)
File "C:\Users\flint\AppData\Roaming\Anki2\addons21\538351043\__init__.py", line 244, in createDeck
note["Front"] = term["term"]
File "anki\notes.py", line 101, in __setitem__
File "anki\notes.py", line 95, in _fieldOrd
<class 'KeyError'>: 'Front'
on 1561942727
Received this error while trying to import from quizlet

Debug info:
Anki 2.1.14 (7b93e985) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Mac 10.15
Flags: frz=True ao=True sv=1
Add-ons possibly involved: Improved Quizlet to Anki 21 Importer

Caught exception:
File "/Users/nilaypatel/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 216, in onCode
self.createDeck(deck)
File "/Users/nilaypatel/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 244, in createDeck
note["Front"] = term["term"]
File "anki/notes.py", line 101, in __setitem__
File "anki/notes.py", line 95, in _fieldOrd
<class 'KeyError'>: 'Front'
on 1561032332
Works perfectly
on 1560789701
it works on my Mac with the latest operating system. thank you!
on 1559588147
Works great!
on 1559447646
Doesn't work on newest version. Use this instead: https://ankiweb.net/shared/info/1710898344
on 1557880410
This is great! Thanks so much.
on 1557844985
I would be great to import sounds (or maybe even better URLs to them) and create 2 types of cards: primary and reversed
on 1557839637
Works!
on 1557104973
Worked with a deck of over 500 cards.
on 1557067648
Looks like works fine for me, Anki 2.1.12 on macOS 10.14.4. Tried to import https://quizlet.com/347618067/四五快读第三册第四课生字-flash-cards/ .
on 1555260092
Great, but I wish I could import stuff faster. I'm still grateful I can import decks at all, so fantastic!
on 1554973178
NOT WORK.

ANKI. 2.1.11, only show the title of the deck,
there was a note showed success, but no cards were imported.

Anki 2.1.11 (3cf770c7) Python 3.6.7 Qt 5.12.1 PyQt 5.11.3
Platform: Windows 10
Flags: frz=True ao=True sv=1

Caught exception:
File "C:\Users\A\AppData\Roaming\Anki2\addons21\538351043\__init__.py", line 219, in onCode
self.thread.terminate()
<class 'AttributeError'>: 'NoneType' object has no attribute 'terminate'
on 1554394495
Great Add-on
some small suggestions: 1. after clicking import deck, the button should be disabled; 2. if there is a change you can add a progress indicator, it will be better, since when downloading large sets from quizlet, people don't really know whether the plugin is functioning or not.
on 1554137216
Not my first time using this. Well done and works well
on 1553376221
Worked great!
on 1552947923
You save me hours! :)
on 1552439702
literally the easiest addon to use. just put in the quizlet URL and you get all the cards made instantly. YOU ARE A GOD!!!
on 1551575931
Works, but any way to get the audio to import too?
on 1551474427
Dude, thank you so much! I just spent a pathetically long time trying to get this crap to work and yours was the first to finally do it.
on 1551357395
Works, great, thank you!
תודה רבה
on 1550523700
Works great
on 1549985015
works flawlessly
on 1548302124
works like a charm!
on 1548077006
It works!
Comment from author
Does this url work for you?
https://quizlet.com/160732581/les-activites-flash-cards/

Update: Great!
on 1547898618
Lifesaver. Easy to import flashcards into my Anki decks from friends that use Quizlet. Currently working on MacOS 10.14.2
on 1546872633
Easy peasy, working with Anki 2.1.4 and Windows 10
on 1546764238
it does work
on 1546645754
Very easy like its advertised. Simply install the app with the code and restart Anki then go to tools -> import from Quizlets and paste in your flash card url.
on 1545483075
Works well so far!
on 1544920871
awesome app. worked perfectly.
on 1543819928
Stopped working. I was actively using it when the 4th quizlet I tried importing gave me this message:

Anki 2.1.5 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Mac 10.14.1
Flags: frz=True ao=True sv=1

Update: It actually let me start using the importer again, sadly it also stopped working again after my 3rd import. It's probably the best/most utilized add on I have. Here is the full set of lines.

Anki 2.1.5 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Mac 10.14.1
Flags: frz=True ao=True sv=1

Caught exception:
File "/Users/<computername>/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 215, in onCode
self.label_results.setText(("Importing deck {0} by {1}...".format(deck["title"], deck["created_by"])))
<class 'KeyError'>: 'title'
Comment from author
Try the updated version by using Anki - Tools - Add-ons - Check for Updates and restart Anki.
on 1543266840
Amazing! I had such problems with the other add-ons! I am running 10.14.1 with Anki 2.1, thank you!
on 1541877272
Works great! Only add on that worked to import quizlet cards on MacOS X El Capitan 10.11.6 and Anki 2.1
on 1541876920
Works great on MacOS X El Capitan 10.11.6 and Anki 2.1!
on 1538462508
It is finally working again, thank you!
on 1538104002
Seeing the following error when importing a Quizlet deck:

Anki 2.1.4 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Mac 10.13.6
Flags: frz=True ao=True sv=1

Caught exception:
File "/Users/[user[/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 215, in onCode
self.label_results.setText(("Importing deck {0} by {1}...".format(deck["title"], deck["created_by"])))
<class 'KeyError'>: 'title'
Comment from author
Does this error appear with public set or maybe you're trying to import private or password-protected set?
on 1538075655
Just had to change the visibility to "everyone" Instead of "Just me"

Thanks!
Comment from author
It seems that you're trying to import password-protected Quizlet set.

Added: Wow. The feedback system is actually working. That's good to know. Thank you.
on 1537958489
Works fine on Linux mint 18.3, anki ver. 2.1.4.
Thank you!
on 1537907872
Works awesome! Thanks for updating! :)
on 1537803620
Get error message from Anki about disabling add-ons when trying to import decks.

Anki 2.1.4 Python 3.6.1 Qt 5.9.2 PyQt 5.9
Platform: Mac 10.13.6
Flags: frz=True ao=True sv=1

Caught exception:
File "/Users/sarahfreeman/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 215, in onCode
self.createDeck(deck)
File "/Users/sarahfreeman/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 247, in createDeck
file_name = self.fileDownloader(term["image"]["url"])
File "/Users/sarahfreeman/Library/Application Support/Anki2/addons21/538351043/__init__.py", line 259, in fileDownloader
urllib.request.urlretrieve(url, file_name)
File "urllib/request.py", line 248, in urlretrieve
File "urllib/request.py", line 223, in urlopen
File "urllib/request.py", line 526, in open
File "urllib/request.py", line 544, in _open
File "urllib/request.py", line 504, in _call_chain
File "urllib/request.py", line 1361, in https_open
File "urllib/request.py", line 1320, in do_open
<class 'urllib.error.URLError'>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>
Comment from author
I've fixed this issue. Either download it again or use Anki -> Tools -> Add-ons -> Check for Updates and restart Anki.
on 1537458464
works well
on 1537037172
Amazing app! Thank you so much to kelciour for taking my feedback on board and getting this to work on MacOS after months of the others not working. Very much appreciated!