I hereby claim:
- I am architekco on github.
- I am wh1z (https://keybase.io/wh1z) on keybase.
- I have a public key ASDbFp4sOpU49-1QYnvjDz525g2Whvdoec4bawp9roFXogo
To claim this, I am signing this object:
| $("button[class='mn-person-card__person-btn-ext button-secondary-medium']").each(function(index, value) { | |
| setTimeout(function() { | |
| jQuery(value).trigger('click'); | |
| }, index * 1000); | |
| }); |
| import requests | |
| from bs4 import BeautifulSoup | |
| import time | |
| USER_AGENT = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36'} | |
| def fetch_results(search_term, number_results, language_code): | |
| assert isinstance(search_term, str), 'Search term must be a string' | |
| assert isinstance(number_results, int), 'Number of results must be an integer' |
| var data = {}; | |
| var out = []; | |
| data.relatedsearches = [].map.call(document.querySelectorAll(".brs_col p"), e => ({ query: e.textContent })); | |
| data.peoplesearchfor = [].map.call(document.querySelectorAll(".rc > div:nth-child(3) > div > div > div:not([class])"), e => { | |
| if (e && !e.className) { | |
| return { query: e.textContent }; | |
| } | |
| }); |
| # python package | |
| import csv | |
| import time | |
| import random | |
| import sys | |
| import os | |
| # selenium package | |
| from selenium import webdriver | |
| from selenium.webdriver.common.keys import Keys |
| import sys | |
| from qtpy import uic, QtWidgets, QtCore, QtGui | |
| class MainWindow(QtWidgets.QMainWindow): | |
| def __init__(self): | |
| super(MainWindow, self).__init__() | |
| # save your ui file in same directory and put filename below | |
| uic.loadUi('your_ui_file.ui', self) | |
| self.show() |
I hereby claim:
To claim this, I am signing this object:
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |