Skip to content

Instantly share code, notes, and snippets.

View KrishGarg's full-sized avatar

Krish Garg KrishGarg

  • Jaipur, Rajasthan, India
  • 10:17 (UTC +05:30)
View GitHub Profile
// scrape.js
const puppeteer = require("puppeteer");
const fs = require("fs");
const path = require("path");
// Home page as direct access sometimes denies access
const TARGET_URL = "https://tgeapcet.nic.in/default.aspx";
async function scrapeAllotments() {
// odd 1
class RectanglePoint {
public int length, breadth;
public Point pnt;
static class Point {
public int cX, cY;
public Point(int centreX, int centreY) {
cX = centreX;