• "Spreading the ideas of freedom loving people on matters regarding high finance, politics, constructionist Constitution, and mental masturbation of all types"

Interesting videos regarding YouTube, Twitter, and Facebook manipulations

SongSungAU

Midas Member
Midas Member
Site Supporter
Joined
Jun 8, 2010
Messages
7,962
Likes
13,863
#1
I found these videos interesting.

Manipulating the YouTube Algorithm - (Part 1/3) Smarter Every Day 213 (20 min 21 sec):​
Published on Mar 31, 2019 by SmarterEveryDay​
1st video in a 3 part series on Social Media Manipulation​
-----

Who is Manipulating Twitter? - Smarter Every Day 214 (28 min 59 sec):​
Published on Apr 8, 2019 by SmarterEveryDay​
2nd video in a 3 part series on Social Media Manipulation​
-----

Who is Manipulating Facebook? - Smarter Every Day 215 (22 min 33 sec):​
Published on Apr 24, 2019 by SmarterEveryDay​
3rd video in a 3 part series on Social Media Manipulation​
 
Last edited:

MIavatar

Silver Miner
Joined
Nov 15, 2016
Messages
501
Likes
268
#2
How I'd do it for youtube. Then add some methods to scroll around and enter search strings, etc..

Code:
from selenium import webdriver
import time
import random


class Proxy_Bot():

    def __init__(self):
        self.browser = webdriver.Firefox()
        self.name = "PROXY BOT"
        self.proxy = None
        self.port = None

    def status(self):
        print(self.name + " STATUS:")

    def get_proxy(self,proxy_url):
        try:
            print("GETTING "  + proxy_url)
            self.browser.get(proxy_url)
            try:
                print("GETTING PROXY: ")
                self.proxy = self.browser.find_element_by_xpath("/html/body/section[1]/div/div[2]/div/div[2]/div/table/tbody/tr[1]/td[1]").text
                self.port = self.browser.find_element_by_xpath("/html/body/section[1]/div/div[2]/div/div[2]/div/table/tbody/tr[1]/td[2]").text
                print(self.proxy)
                print(self.port)
             except:
                print("COULDENT GET PROXY: ")

        except:
            print("COULDENT GET " + proxy_url)
        self.browser.close()
        return

    def use_proxy(self,target_website):
        try:
            print("USING PROXY")
            print("GOING TO:" + target_website)

            proxy_profile = webdriver.FirefoxProfile()
            proxy_profile.set_preference("network.proxy.type", 1)
            proxy_profile.set_preference("network.proxy.http", self.proxy )
            proxy_profile.set_preference("network.proxy.http_port",self.port)
            proxy_profile.set_preference("network.proxy.ssl",self.proxy )
            proxy_profile.set_preference("network.proxy.ssl_port", self.port)

            self.browser = webdriver.Firefox(firefox_profile=proxy_profile)
            self.browser.get(target_website)
            time.sleep(5000)
            self.browser.close()
        except:
            print("ERROR USING PROXY")

bot = Proxy_Bot()
bot.get_proxy("https://www.us-proxy.org/")
bot.use_proxy("https://www.youtube.com/watch?v=TCYDeze_4P0")

bot.get_proxy("https://free-proxy-list.net/")
bot.use_proxy("https://www.youtube.com/watch?v=TCYDeze_4P0")
 

SongSungAU

Midas Member
Midas Member
Site Supporter
Joined
Jun 8, 2010
Messages
7,962
Likes
13,863
#3
I found these videos interesting.

Manipulating the YouTube Algorithm - (Part 1/3) Smarter Every Day 213 (20 min 21 sec):​
Published on Mar 31, 2019 by SmarterEveryDay​
1st video in a 3 part series on Social Media Manipulation​
-----

Who is Manipulating Twitter? - Smarter Every Day 214 (28 min 59 sec):​
Published on Apr 8, 2019 by SmarterEveryDay​
2nd video in a 3 part series on Social Media Manipulation​
-----

Who is Manipulating Facebook? - Smarter Every Day 215 (22 min 33 sec):​
Published on Apr 24, 2019 by SmarterEveryDay​
3rd video in a 3 part series on Social Media Manipulation​
How Trolls on Reddit Try to Manipulate You (Disinformation & How We Beat It) - Smarter Every Day 232 (26 min 07 sec):


Published on Mar 25, 2020 by SmarterEveryDay​