Skip to content

Instantly share code, notes, and snippets.

View mamalheydar's full-sized avatar

mamalheydar mamalheydar

View GitHub Profile
@seyed-dev
seyed-dev / irproxy.py
Created October 19, 2019 07:26
دریافت تعدادی پروکسی سالم ایران
from bs4 import BeautifulSoup
import requests
import re
print("search iran proxy started")
response = requests.get('https://www.proxynova.com/proxy-server-list/country-ir/').text
soup = BeautifulSoup(response, "html.parser")
tables = soup.findAll("tr")
for x in tables:
try:
function removeEmoji($text)
{
$cleanText = "";
// Match Emoticons
$regexEmoticons = '/[\x{1F600}-\x{1F64F}]/u';
$cleanText = preg_replace($regexEmoticons, '', $text);
// Match Miscellaneous Symbols and Pictographs
$regexSymbols = '/[\x{1F300}-\x{1F5FF}]/u';