diff --git a/README.md b/README.md
index 8e397aa..794f245 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,9 @@
+
+
+
diff --git a/package-lock.json b/package-lock.json
index fac306d..38e9f72 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "txtdot",
- "version": "1.2.0",
+ "version": "1.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "txtdot",
- "version": "1.2.0",
+ "version": "1.3.0",
"license": "MIT",
"dependencies": {
"@fastify/static": "^6.10.2",
diff --git a/package.json b/package.json
index e926e61..1aee84d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "txtdot",
- "version": "1.2.0",
+ "version": "1.3.0",
"private": true,
"description": "",
"main": "dist/app.js",
diff --git a/src/handlers/google.ts b/src/handlers/google.ts
index 06568cc..6783d8a 100644
--- a/src/handlers/google.ts
+++ b/src/handlers/google.ts
@@ -3,17 +3,17 @@ import { IHandlerOutput } from "./handler.interface";
import { EngineParseError } from "../errors/main";
export default async function google(
- input: HandlerInput,
+ input: HandlerInput
): Promise {
const window = input.parseDom().window;
const googleAnchors = [
- ...window.document.querySelectorAll("a[jsname=ACyKwe]"),
+ ...window.document.querySelectorAll("a[jsname=UWckNb]"),
] as HTMLAnchorElement[];
if (!googleAnchors) {
throw new EngineParseError(
- "Failed to find anchors in search result [google]",
+ "Failed to find anchors in search result [google]"
);
}
@@ -43,31 +43,9 @@ export default async function google(
});
const search = window.document.getElementById(
- "APjFqb",
+ "APjFqb"
) as HTMLTextAreaElement;
- const navLinks = [
- ...window.document.querySelectorAll(
- "table[class=AaVjTc] > tbody > tr > td > a",
- ),
- ].map((l) => {
- const link = l as HTMLAnchorElement;
- return `${link.innerHTML} | `;
- });
-
- const currPage =
- (window.document.querySelector(".YyVfkd") as HTMLTableCellElement)
- ?.cellIndex || 0;
-
- const pageTd = `${currPage} | `;
-
- if (currPage === 1) navLinks.splice(currPage - 1, 0, pageTd);
- else if (currPage !== 0) navLinks.splice(currPage, 0, pageTd);
-
- const navigation = ``;
-
const searchForm = `