@@ -69,7 +69,7 @@ Outputs: the JSON object
6969### LEX
7070| code | Website | Note
7171| --- | --- | --- |
72- | ` dsd ` | https://denstoredanske. lex.dk/ |
72+ | ` lex ` | https://lex.dk/ | is Den Store Danske/Danmarks Nationalleksikon
7373| ` dlh ` | https://dansklitteraturshistorie.lex.dk/ |
7474| ` dbl ` | https://biografiskleksikon.lex.dk/ |
7575| ` gtl ` | https://teaterleksikon.lex.dk/ |
@@ -125,7 +125,7 @@ Outputs: `Spellemannprisen`
125125import snldata
126126
127127R = snldata.SnlSession()
128- R.search(zone = ' dsd ' , query = " Python" , best = True ) # Pick the one with the best rank
128+ R.search(zone = ' lex ' , query = " Python" , best = True ) # Pick the one with the best rank
129129print (R.url)
130130```
131131Outputs: ` https://denstoredanske.lex.dk/Python `
@@ -141,7 +141,7 @@ If the API returns no results, `.json` will be given a empty list.
141141import snldata
142142
143143R = snldata.SnlSession()
144- R.search(zone = ' dsd ' , query = " asdadasdasdad" , best = True ) # Pick the one with the best rank
144+ R.search(zone = ' lex ' , query = " asdadasdasdad" , best = True ) # Pick the one with the best rank
145145print (R.json)
146146```
147147Outputs: ` {} `
@@ -150,7 +150,7 @@ Outputs: `{}`
150150import snldata
151151
152152R = snldata.SnlSession()
153- R.search(zone = ' dsd ' , query = " jdfhdskjfhsjkdfhksdfh" ) # Pick the three best results, but there are none
153+ R.search(zone = ' lex ' , query = " jdfhdskjfhsjkdfhksdfh" ) # Pick the three best results, but there are none
154154R._get(0 )
155155print (R.json)
156156```
0 commit comments