-
Notifications
You must be signed in to change notification settings - Fork 1
Automatically download BibTeX from MyBib
André Kuhlmann edited this page Mar 19, 2022
·
2 revisions
In case you are using mybib.com as your citation tool, I have written a small script, you can prepend inside your generation script generate.sh
:
curl "https://www.mybib.com/download/<PROJECT-ID>/bibtex" \
-H 'Cookie: <YOUR-COOKIE>' -o bibliography.bib
For this to function properly, you need to extract the following information from your browser:
- Extract your project ID from the address bar and replace the field labeled as
<PROJECT-ID>
with it - Open up your Browsers Developer tools (macOS:
CMD
+ALT
+I
, Windows:STRG
+ALT
+I
) and visit the console. Paste the following code snippet and hit enter:Once done, replace thedocument.cookie
<YOUR-COOKIE>
placeholder with the output of the execution.
This only applies to local development for now and is not yet implemented in the GitHub Action pipeline.