top-travellers sql

This commit is contained in:
2022-04-28 00:36:11 +05:30
parent 950abb6b37
commit ce4608aa34
3 changed files with 85 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ import Turndown from "turndown";
import * as cheerio from "cheerio";
import { client, gql } from "./graphql.mjs";
const langExt = { python3: "py", nodejs: "js", cpp: "cpp" };
const langExt = { python3: "py", nodejs: "js", cpp: "cpp", sql: "sql" };
const link = await question("Enter leetcode problem link: ");
const titleSlug = path.basename(new URL(link).pathname);