FaceBoom icon indicating copy to clipboard operation
FaceBoom copied to clipboard

Not viewing HTML!

Open Rohail33 opened this issue 4 years ago • 2 comments

Can tell me what's the problem? iam usuing kali linux on subsystem of Windows 10 Screenshot (1)

Rohail33 avatar Oct 20 '19 11:10 Rohail33

i think there are no header generated which is causing this issue. Try using br._factory.is_html = True at line 186

i think there is some issue with the format of header you are adding at 145 this is the input format of your line 145 [('User-agent', [[ "the random choice "]])]

one other thing you can do is adding a variable in useragent and assigning it value formating_useragent = f"[('User-agent', {random.choice(useragent()})]" now return this variable and modify line 145 to br.addheader = useragent()

Sorry if this is wrong but that's all i think is causing this.

starinfinity avatar Nov 23 '19 19:11 starinfinity

@Rohail33 can you re-clone the script and try again, i fix a lot of problems in this script,

Oseid avatar Jul 21 '20 15:07 Oseid