mirror of
https://github.com/Dvorinka/beszel.git
synced 2026-06-03 13:02:55 +00:00
b6f40af67f
Build Docker images / Hub (push) Failing after 52s
Implement enhanced WHOIS lookup strategies, specifically targeting .eu domains through EURid web scraping and alternative services to improve data accuracy for expiry dates. - Add EURid web scraping and alternative WHOIS service support for .eu domains - Increase timeouts for .eu domain lookups in TCP and native WHOIS - Improve domain scheduler to prevent overwriting valid data with zero-value dates - Enhance site UI with subdomain indicators in domain tables - Add filtering capabilities to the calendar view - Implement drag-and-drop reordering for systems table - Add new debug and test utilities for WHOIS and date parsing logic
24 lines
885 B
JavaScript
24 lines
885 B
JavaScript
#!/usr/bin/env node
|
|
|
|
// Test WhoisXML API for .eu domains
|
|
const testWhoisXML = async (domain) => {
|
|
try {
|
|
// Note: This would require a real API key to test
|
|
console.log(`Testing WhoisXML API for: ${domain}`);
|
|
console.log('Note: WhoisXML API requires an API key to test properly');
|
|
|
|
// URL structure they use
|
|
const url = `https://www.whoisxmlapi.com/whoisserver/WhoisService?apiKey=YOUR_API_KEY&outputFormat=json&domainName=${domain}`;
|
|
console.log(`WhoisXML URL: ${url}`);
|
|
|
|
// Based on their code, WhoisXML should return expiry dates for .eu domains
|
|
console.log('WhoisXML API typically provides expiry dates for .eu domains that TCP WHOIS does not');
|
|
|
|
} catch (error) {
|
|
console.error(`Error: ${error.message}`);
|
|
}
|
|
};
|
|
|
|
testWhoisXML('bookra.eu');
|
|
testWhoisXML('sportcreative.eu');
|