tt-help-cli-ycl 1.3.33 → 1.3.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/run-explore.bat +6 -1
- package/scripts/run-explore.ps1 +5 -1
- package/scripts/run-explore.sh +7 -1
- package/src/cli/explore.js +10 -3
- package/src/lib/api-interceptor.js +43 -202
- package/src/lib/args.js +1 -1
- package/src/lib/constants.js +8 -5
- package/src/scraper/explore-core.js +19 -9
- package/src/watch/data-store.js +13 -3
- package/src/watch/public/index.html +1381 -676
- package/src/watch/server.js +8 -2
package/src/watch/server.js
CHANGED
|
@@ -347,7 +347,13 @@ export function startWatchServer(outputFile, port = 3000, existingStore) {
|
|
|
347
347
|
.map((s) => s.trim().toUpperCase())
|
|
348
348
|
.filter(Boolean)
|
|
349
349
|
: null;
|
|
350
|
-
const
|
|
350
|
+
const loggedIn = params.loggedIn === "true";
|
|
351
|
+
const job = store.claimNextJob(
|
|
352
|
+
userId,
|
|
353
|
+
5 * 60 * 1000,
|
|
354
|
+
locations,
|
|
355
|
+
loggedIn,
|
|
356
|
+
);
|
|
351
357
|
if (job) {
|
|
352
358
|
store.save();
|
|
353
359
|
logJob("CLAIM", {
|
|
@@ -759,7 +765,7 @@ export function startWatchServer(outputFile, port = 3000, existingStore) {
|
|
|
759
765
|
error: 3,
|
|
760
766
|
restricted: 4,
|
|
761
767
|
};
|
|
762
|
-
const tier1Loc = new Set(["PL", "NL", "BE"]);
|
|
768
|
+
const tier1Loc = new Set(["PL", "NL", "BE", "AT"]);
|
|
763
769
|
const tier2Loc = new Set(["DE", "FR", "IT", "IE", "ES"]);
|
|
764
770
|
function locationTier(u) {
|
|
765
771
|
const loc = (u.guessedLocation || "").toUpperCase();
|