哪里能下载越南语 cp1258 的编码集

2021-04-06 11:00:10 +08:00
 Selenium39
2095 次点击
所在节点    Python
4 条回复
koebehshian
2021-04-06 12:19:07 +08:00
koebehshian
2021-04-06 12:26:27 +08:00
我刚下下来看了下,越南语的在 lib/cp1258.h 头文件中
dll30
2021-04-06 18:40:15 +08:00
奇怪的需求增加了Σ( ° △ °|||)︴
Selenium39
2021-04-07 09:08:22 +08:00
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")

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/768296

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX