MShawon / YouTube-Viewer

A multithreaded view bot for YouTube
MIT License
1.48k stars 752 forks source link

import Idea #66

Closed z3r0d4rkn3ss closed 3 years ago

z3r0d4rkn3ss commented 3 years ago

Random referer rotates per each user agent, coming from Facebook, Google, and other sites this will make the trust level higher...

z3r0d4rkn3ss commented 3 years ago

headers = { 'Accept-Encoding': 'gzip, deflate, sdch', 'Accept-Language': 'en-US,en;q=0.8', 'User-Agent': '{}'.format(agent), 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Referer': 'http://www.facebook.com/', 'Connection': 'keep-alive', }

MShawon commented 3 years ago

That's a nice idea.. but selenium doesn't support request header. selenium wire can do the job but request need to be intercepted which will slow down scripts i guess. I will see what I can do.

z3r0d4rkn3ss commented 3 years ago

Would be a good idea because the more fake info you send to the server the higher the trust level