|
||
0
0
´Þºûluna
python /shares/torrent/tvheadend/epg2xml.py -i KT -s /etc/tvheadend/epggrab/xmltv.sock
À§ ¸í·É¾î ÀÔ·ÂÇÏ´Ï xmltv.sock ÆÄÀÏÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù. ¶ó°í ³ª¿À³×¿ä. ¼³Ä¡¿¡¼ ¿À·ù°¡ ³°Ç ¾Æ´Ñ°Å °°Àºµ¥ ÀÌ»óÇϳ׿ä. |
0
0
´Þºûluna
¸¶Å¬ÀÌ º®µ¹ÀÌ µÇ¾î¼ ´Ù½Ã ½Ãµµ¸¦ ¸øÇÏ°í Àֳ׿ä...........
|
0
0
leehweewoo
Àúµµ µ¿ÀÏ Áõ»ó °°±¸¿ä..
python /shares/torrent/tvheadend/epg2xml.py -i KT -s /etc/tvheadend/epggrab/xmltv.sock ÀÌ°Å Çϴϱî WDMyCloud: ~# python /shares/torrent/tvheadend/epg2xml.py -i KT -s /etc/tvheadend/epggrab/xmltv.sock WDMyCloud: ~# ÀÌ°Ô ³¡ÀÔ´Ï´Ù.. epg2xml.py ÆÄÀÏ ¿¾î¼ ¾Æ·¡ºÎºÐÀ» ³Ö¾î³õ°í Çغôµ¥ try: imp.find_module('lxml') from lxml import html except ImportError: print("Error : ", "lxml ¸ðµâÀÌ ¼³Ä¡µÇÁö ¾Ê¾Ò½À´Ï´Ù.", file=sys.stderr) sys.exit() WDMyCloud: ~# python /shares/torrent/tvheadend/epg2xml.py -i KT -s /etc/tvheadend/epggrab/xmltv.sock Error : ", "lxml ¸ðµâÀÌ ¼³Ä¡µÇÁö ¾Ê¾Ò½À´Ï´Ù. WDMyCloud: ~# ÀÌ·¸°Ô¶ß°í¿ä.. ¸Ó¸® ¾ÆÆÄ Áװڳ׿ä ....¤»¤»µµ¿ÍÁÖ¼¼¿ä¤Ð¤Ð Á©¸®¾¾´Ô²¨ º¸°í ´Ùµû¶ó Çߴµ¥ ¾ÈµÇ¿ä¤Ð¤Ð "epg2xml.py ÆÄÀÏÀ» ¿¾î¼ lxml À» html.parser ·Î ¹Ù²ãÁÝ´Ï´Ù. ¾Æ·¡¿Í °°ÀÌ soup = BeautifulSoup(data, 'lxml', parse_only=strainer, from_encoding='utf-8') soup = BeautifulSoup(data, 'html.parser', parse_only=strainer, from_encoding='utf-8')" À̺κÐÀº soup = BeautifulSoup(data, 'lxml', parse_only=strainer, from_encoding='utf-8') À̺κÐÀ» soup = BeautifulSoup(data, 'html.parser', parse_only=strainer, from_encoding='utf-8') ÀÌ°É·Î ÀüºÎ ¹Ù²Ù¶ó´Â°Ç°¡¿ä? ¿Ö Àú´Â ±âº»ÀÌ soup = BeautifulSoup(data, htmlparser, parse_only=strainer, from_encoding='utf-8') ·Î µé¾î°¡ÀÖÁÒ htmlparser¸¦ 'html.parser'·Î ¹Ù²ã¼ »ç¿ëÇÏ´Â°Ô ¸Â³ª¿ä? ±×·¸°Ô ´Ù¹Ù²ã »ç¿ëÇϴµ¥µµ À§¿¡ Áõ»óÀÌ ¶ß³×¿ä ¤Ð¤Ðµµ¿ÍÁֽʼî¤Ð¤Ð |
0
0
leehweewoo
Á©¸®¾¾´ÔÀÌ ÆÄÀÏ º¸³»Áּż ÇØ°áµÇ¾ú½À´Ï´Ù.
°¨»çÇÕ´Ï´Ù. Á¦ ÆÄÀÏÀÌ ¹º°¡ ¹®Á¦°¡ ÀÖ¾ú³ªºÁ¿ä. |
|
|
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û | ¸ñ·Ïº¸±â |
try:
imp.find_module('lxml')
from lxml import html
except ImportError:
print("Error : ", "lxml ¸ðµâÀÌ ¼³Ä¡µÇÁö ¾Ê¾Ò½À´Ï´Ù.", file=sys.stderr)
sys.exit()
lxmlÀº html.parser·Î ÇϽñ¸¿ä