Learn to Code via Tutorials on Repl.it!

← Back to all posts
Python hacking! Get code from any website without inspect!
[deleted]

Welcome to this hacking tutorial (not really hacking though)

Let's see how to get HTML,CSS,js code from any website via python!

Let's start!

Import requests module

Create a variable

Print the code of the website!

complete code:

Upvote if u find it helpful :)

I learned this w3schools

tip: print the HTML code of w3schools.com!

U can also print the HTML code by user input! Try it urself!

Voters
someguy117
DoggoPoggo
ItamarCohen28
Comments
hotnewtop
[deleted]

Niiiiiiiiiiiccccccccceeeeeeee

ch1ck3n

honestly whyy would anyone use this method? it's bad and normal inspect is better.

JULIODIAZ1

idk maybe for a proxy i have no idea @ch1ck3n

EmmaCutler

prolly for school computers that dont allow [email protected]

DoggoPoggo

This is pretty cool.

ItamarCohen28

If I will to this on your repl what would it do 🤔
Will it show the python script?

[deleted]

Chances are, it will show the python script also

ItamarCohen28

Can you do a hacking tutorial?

@Hacky

ItamarCohen28

thanks
@Hacky

ItamarCohen28

Cool!

[deleted]

coooooooooooooooooooooooollllllllllllllllllll!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

ch1ck3n

@Hacky forgot to switch alts?