Package: memrise
Features:Support scraping the courses in MEM to take the vocabularyTranslate the words to your own languageGet the IPA for the English courseInstallationWindowpython -m pip install memriseLinuxpip install memrisemacOSsudo pip3 install memriseAppplication RequiresInstall DB Browser :SQLiteInstall Library:pip install googletrans==4.0.0rc1GuidelinesHow to take Course ID?Access theMemrise Websiteand copy the Course ID as the following pictureImport library and initialize databasefrommemriseimportCourse,Data#Create file database outputdb=Data('English.db')# Or *.sqlite easy to open#Connect to file database and initdb.init_database()Scraping course with IDThe following example is scrapingthe English coursefor the French# Connect the course to scraping info this maybe take a few momment.course=Course(2157577)# Update information about the coursedb.update_course(course)Update the IPA in databaseUse the methodupdate_ipa()if theLanguage CourseisEnglishfor update the IPA information auto.The parameterlanguagedefault isbrbr: English UKam: English US# Update IPA for database with default `br`db.update_ipa()# Use the follow if English US# db.update_ipa('am')Translate the vocaburaly to your own languageUse the methodupdate_trans(language)The parameterlanguagefollow theISO 639-1 codesas the bottom# Translate to Vietnamesedb.update_trans('vi')Show the output with SQLite Browser ApplicationOpen the SQLite Browser Application and follow the steps belowFeel free to make your own course with the SQL querySteps :Execute SQL > Typing SQL Statements > RunSELECTword,sub,IPAFROMwords;Languages ISO369-1 Codeaf : afrikaans                 fy : frisian                   ky : kyrgyz                sr : serbian
sq : albanian                  gl : galician                  lo : lao                   st : sesotho
am : amharic                   ka : georgian                  la : latin                 sn : shona
ar : arabic                    de : german                    lv : latvian               sd : sindhi
hy : armenian                  el : greek                     lt : lithuanian            si : sinhala
az : azerbaijani               gu : gujarati                  lb : luxembourgish         sk : slovak
eu : basque                    ht : haitian creole            mk : macedonian            sl : slovenian
be : belarusian                ha : hausa                     mg : malagasy              so : somali
bn : bengali                   haw : hawaiian                 ms : malay                 es : spanish
bs : bosnian                   iw : hebrew                    ml : malayalam             su : sundanese
bg : bulgarian                 he : hebrew                    mt : maltese               sw : swahili
ca : catalan                   hi : hindi                     mi : maori                 sv : swedish
ceb : cebuano                  hmn : hmong                    mr : marathi               tg : tajik
ny : chichewa                  hu : hungarian                 mn : mongolian             ta : tamil
zh-cn : chinese (simplified)   is : icelandic                 my : myanmar (burmese)     te : telugu
zh-tw : chinese (traditional)  ig : igbo                      ne : nepali                th : thai
co : corsican                  id : indonesian                no : norwegian             tr : turkish
hr : croatian                  ga : irish                     or : odia                  uk : ukrainian
cs : czech                     it : italian                   ps : pashto                ur : urdu
da : danish                    ja : japanese                  fa : persian               ug : uyghur
nl : dutch                     jw : javanese                  pl : polish                uz : uzbek
en : english                   kn : kannada                   pt : portuguese            vi : vietnamese
eo : esperanto                 kk : kazakh                    pa : punjabi               cy : welsh
et : estonian                  km : khmer                     ro : romanian              xh : xhosa
tl : filipino                  ko : korean                    ru : russian               yi : yiddish
fi : finnish                   ku : kurdish (kurmanji)        sm : samoan                yo : yoruba
fr : french                    gd : scots gaelic              zu : zuluLog changes:v1.0.0: Implementation Scrapping Vocabularyv1.1.0: Update IPA Functionv1.2.1: Release check for fixing ERROR IPA and update new TRANSLATE FUNCTION