Skip to content

Instantly share code, notes, and snippets.

@theabbie
Created November 16, 2020 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theabbie/97c18360cecfcfff42025619859dee02 to your computer and use it in GitHub Desktop.
Save theabbie/97c18360cecfcfff42025619859dee02 to your computer and use it in GitHub Desktop.
BuzzFeed Spammer
var axios = require("axios")
(async function () {
while (true) {
await axios({
url: "https://pixiedust.buzzfeed.com/events",
method: "POST",
headers: {
Host: "pixiedust.buzzfeed.com",
Connection: "keep-alive",
"Content-Length": 624,
"sec-ch-ua": `"Chromium";v="86", "\"Not\\A;Brand";v="99", "Google Chrome";v="86"`,
"sec-uh-ua-mobile": "?1",
"User-Agent": "Mozilla/5.0 (Linux; Android 10; Redmi Note 7 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Mobile Safari/537.36",
"Content-Type": "text/plain;charset=UTF-8",
"Accept": "*/*",
"Origin": "https://www.buzzfeed.com",
"Sec-Fetch-Site": "same-site",
"Sec-Fetch-Mode": "no-cors",
"Sec-Fetch-Dest": "empty",
"Referer": "https://www.buzzfeed.com/",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.9",
"Cookie": "country=in; bf-browser-language=en-US,en; bf-geo-country=IN"
},
data: [{
"type": "web_pageview",
"source": "web_bf",
"event_uri": "https://www.buzzfeed.com/abhishekchaudhary/remembering-irrfan-sir-3x0j92wjai",
"event_ts": 1605535494,
"event_uuid": "71fa035a-8a35-4d94-a6a5-396ed56069e9",
"client_uuid": "5385b85a-26c2-44cd-944c-c0e30de2d046",
"client_session_id": "e1db1f64-4478-469c-80e9-37fb0570ff24",
"random_user_uuid": "unauthenticated",
"referrer_uri": "",
"page_session_id": "eb1e1036-a480-4796-b074-cf4c8dd7aada",
"previous_page_session_id": "",
"mode": "mobile",
"page_edition": "en-us",
"viewport_size": {
"width": 458,
"height": 991
},
"context_page_id": "5770003",
"context_page_type": "buzz",
"destination": "buzzfeed"
}]
});
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment