Skip to content
← Back to Community
WebSearch
Profile icon
AmoghTheCool

WebSearch

Ok first of all

  • this is not google/bing, this is a searching algorithm I made that webscrapes.
  • the main difference is that google/bing have a GIGANTIC index of websites sorted into categories which unfortunately I don't have access to
  • enjoy!

The main lib is in search.py.

sortacredits

@personmandude for the original search-for-text-in-text

@tussiez for the sorta part of this title

@AmoghTheCool for being me AND coding this.

@ch1ck3n and @HahaYes for existing.

Leetcode for the "copy the C strStr() function" (indexOf to the Java an JS coders)... where I originally made my algorithm.

Google.

note: this is NOT a low effort post, even though the code is short. I made the searching function myself (without using the in keyword).

Voters
Profile icon
softieharuki
Profile icon
sobakarooted
Profile icon
personmandude
Profile icon
AmoghTheCool
Comments
hotnewtop
Profile icon
LordPython404

Why does it output a bunch of numbers?

Profile icon
AmoghTheCool

@LordPython404 eh? Those are the indexes of the word replit in https://hello-to-replit.siddhantmanze.repl.co.

Profile icon
LordPython404

@AmoghTheCool Oh... ok.

Profile icon
ch1ck3n

um ok

Profile icon
tussiez

Interesting