EPG값을 1/3정도만 불러오거나 아에 불러오지를 못하네요
이곳의 EPG 설정법을 참고하여 그간 잘 사용하고있었는데
DSM 업데이트하지말걸 그랬네요 ㅠ_ ㅠ
root@admin:/volume1/pvr# python /volume1/pvr/epg2xml.py -i KT -s
Traceback (most recent call last):
File "/volume1/pvr/epg2xml.py", line 533, in <module>
getEpg()
File "/volume1/pvr/epg2xml.py", line 87, in getEpg
GetEPGFromSK(ChannelInfo)
File "/volume1/pvr/epg2xml.py", line 273, in GetEPGFromSK
response = requests.get(url, params=params, headers=ua)
File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 71, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/site-packages/requests/api.py", line 57, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/site-packages/requests/sessions.py", line 617, in send
r.content
File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 741, in content
self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
File "/usr/local/lib/python2.7/site-packages/requests/models.py", line 667, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))
그래서 수동으로 SSH에서 넣어보니 에러가 따악!
python ¹®Á¦°°ÀÌ º¸ÀÌ´õ±º¿ä Á¦²¨´Â ±×·¡¼ wonipapa´Ô²¨ php ¹öÀüÀ¸·Î µÈ°Å ¼öÁ¤Çؼ µ¹·È´õ´Ï Àß µ¹¾Æ°©´Ï´Ù.
php ¼³Ä¡ÇÏ½Ã°í º¯°æÇϼ¼¿ä~
¼ÒÄÏÀ» ãÀ» ¼ö ¾ø½À´Ï´Ù ¿¡·¯¸¦ »Õ¾î¹ö¸®³×¿ä
À缳ġ¸¦ ÇؾßÇϳª °í¹ÎÁßÀÔ´Ï´Ù
±×·±µ¥ ÀÌÀü¿£ 5ºÐÀÌ¸é ¸ðµÎ ±Ü¾î¿À´ø°Ô Á¶±Ý´õ ¿À·¡°É¸®´Â°Å°°½À´Ï´Ù
±×·¡µµ ¸Å¿ìÀßµÇ´Ï ÁÁ³×¿ä
´ã¿¡µµ ¾ÈµÇ¸é ±Û »¡¸® ¿Ã·Áº¸°Ú½À´Ï´Ù ¤¾¤¾¤¾