Compare commits
No commits in common. "aa1bba84aabc290391c65422afdcd49dc5ea0a37" and "d4c5da2a761de1a6e9fff3ccd689f6d1e1cfab78" have entirely different histories.
aa1bba84aa
...
d4c5da2a76
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.142.1",
|
||||
"version": "1.142.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.142.1",
|
||||
"version": "1.142.0",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -11,12 +11,8 @@ async function resolvePlace(query) {
|
|||
try {
|
||||
// https://operations.osmfoundation.org/policies/nominatim/
|
||||
const res = await http.get(`https://nominatim.openstreetmap.org/search/${encodeURI(query)}?format=json&accept-language=en&addressdetails=1`, {
|
||||
headers: {
|
||||
'User-Agent': 'contact at moonloop.adult@protonmail.com',
|
||||
},
|
||||
interval: 1000,
|
||||
concurrency: 1,
|
||||
});
|
||||
'User-Agent': 'contact at moonloop.adult@protonmail.com',
|
||||
}, { queueMethod: '1s' });
|
||||
|
||||
const [item] = res.body;
|
||||
|
||||
|
|
Loading…
Reference in New Issue