I am trying to download a anki deck off a notion website. It keeps opening a new tab of random code whenever I click the link off the notion website. This occurs for multiple different notion websites I have tried on safari and chrome. Previously, it would download as a .misc or .apkg file onto my downloads folder on Mac prior to updating, however now it just opens a new tab on safari or chrome and its just literal question marks and chrome.
I tried downloading an older version of anki and that didnt seem to help either, so im not sure if its some anki setting that got reset or safari/chrome setting. This has also been occurring on my iPhone, so idk if it’s a notion/anki glitch either. Also occurs on multiple devices.
It looks like you’re opening that database file, not downloading it. But this really seems like a question for notion, or something you need to fix in your browser or iPhone settings.
Your computer and phone browsers believe (incorrectly) that they can open and view those files directly. The easiest way to work around this issue is to explicitly tell the browser to download the file, instead of allowing it to decide what to do with it.
On Safari on Mac, right-click on the link, then select “Download Linked File”
On Safari on iOS, long-press on the link, then select “Download Linked File”
On that page, there is an Anki deck linked under InmunologĂa → Sistema Inmune
I see that the deck isn’t a normal HTML linked file that can be right-clicked and saved. Instead, it is some sort of button that needs to be left-clicked to have the deck appear in a new page.
Left-clicking on the button causes the deck to be loaded in a new browser tab. The page is a binary file that looks like gibberish.
The page filename is “inmunologia_1__sistema_inmunitario_lo_propio_y_extrano.apkg”, but the MIME type seems to be “text/plain” which is why the browser is trying to display it instead of downloading it, I believe.
I was able to File → Save As the deck page. (Safari offered to name the downloaded file “xxx.apkg.txt”, but I was able to change the filename to “xxx.apkg”.)
I was then able to File → Import the .apkg file into desktop Anki without any problem.
So, I think the easiest workaround would be to:
Just let the web browser load the Anki deck into a browser tab (even though it looks like gibberish).
Do a File → Save As to save the deck to a file, using the “.apkg” extension in the filename.