This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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'; |