Skip to content

Instantly share code, notes, and snippets.

View tito-arch's full-sized avatar
🐰
Building Bunnieabc

Titoh C-137 tito-arch

🐰
Building Bunnieabc
View GitHub Profile
hive-verify-41b9be7a
@tito-arch
tito-arch / googleMaps.js
Created November 19, 2023 19:10 — forked from adrianhorning08/googleMaps.js
Scrape Google Maps
import * as cheerio from "cheerio";
import puppeteerExtra from "puppeteer-extra";
import stealthPlugin from "puppeteer-extra-plugin-stealth";
import chromium from "@sparticuz/chromium";
async function searchGoogleMaps() {
try {
const start = Date.now();
puppeteerExtra.use(stealthPlugin());
@tito-arch
tito-arch / Twitter.scala
Created April 3, 2023 21:37
Twitter OpenSource
DebunchCandidates(
pipelineScope = SpecificPipeline(forYouScoredTweetsCandidatePipelineConfig.identifier),
mustDebunch = {
case item: ItemCandidateWithDetails =>
!item.features.getOrElse(InNetworkFeature, false)
case module: ModuleCandidateWithDetails =>
!module.candidates.last.features.getOrElse(InNetworkFeature, false)
},
maxBunchSize = MaxConsecutiveOutOfNetworkCandidates
),
import React from 'react'
/////////////===components imported===///////////////////
import Error from './Components/Error'
import {BrowserRouter as Router, Routes, Route } from 'react-router-dom'
import Home from './Home'
import Nav from './Components/nav/Nav'
import Store from './Components/store/Store'
import Terms from './Components/terms/Terms'