A simple emoji picker for rofi with multi-selection
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
455 B

import requests
from bs4 import BeautifulSoup
data = requests.get('https://emojipedia.org/emoji/') # type: requests.Response
soup = BeautifulSoup(data.content, 'lxml') # type: BeautifulSoup
python_file = open('emojis.py', 'w')
for table_row in soup.find_all('tr'):
emoji_row = table_row.find('td')
text = emoji_row.get_text()
python_file.write(text + '\n')