Querying online dictionary - seemingly random numbers in URL

(not sure if this is the ideal sub for this question; the code is from Gabe Wyner's fluent-forever.com/multi-search/)

q is the query (word or short phrase), e.g.

window.open("http://exampledic1.com/content/" + q); window.open("http://exampledic2.com/word/" + q + "/#en"); 

This works fine for sites like Wiktionary, WordReference, or Google Translate.

However, larousse.fr is adding some seemingly random numbers to the URL, eg

https://larousse.fr/dictionnaires/francais-espagnol/vérité/80589

https://larousse.fr/dictionnaires/francais-espagnol/mètre/50901?q=mètre+carré#701484

Without this number, one gets an error message because the Replacement Character U+FFFD appears for non ASCII characters (v�rit�):

https://larousse.fr/dictionnaires/francais-espagnol/vérité/

Does anybody know why this number is there? Maybe it is NOT random?

Is it to prevent automated queries?

submitted by /u/lerlan
[link] [comments]

from Γειά σας | Languagelearning https://ift.tt/2QmlOIv
via Learn Online English Speaking

Comments