1
koebehshian 2021-04-06 12:19:07 +08:00 2
|
2
koebehshian 2021-04-06 12:26:27 +08:00
我刚下下来看了下,越南语的在 lib/cp1258.h 头文件中
|
3
dll30 2021-04-06 18:40:15 +08:00
奇怪的需求增加了Σ( ° △ °|||)︴
|
4
Selenium39 OP http://code.cside.com/3rdpage/us/windows/windows-1258.html
这里能够看到所有编码. import requests from bs4 import BeautifulSoup url = "http://code.cside.com/3rdpage/us/windows/windows-1258.html" response = requests.request(method='get', url=url) html_doc = response.text soup = BeautifulSoup(html_doc, 'html.parser') for input in soup.find_all('input', class_='ix'): with open("label_viet.txt", "a") as f: f.writelines(input.get('value')+"\n") |