ming 3 년 전
부모
커밋
33564ca30c
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      OpenshotService/openshot_video_generator.py

+ 4 - 0
OpenshotService/openshot_video_generator.py

@@ -91,9 +91,13 @@ def myunichchar(unicode_char):
         return unicode_char
 
 def get_url_type(url):
+    print('---------------------------------------------')
+    
     req = urllib.request.Request(url, method='HEAD', headers={'User-Agent': 'Mozilla/5.0'})
     r = urllib.request.urlopen(req)
     contentType = r.getheader('Content-Type')
+    print(contentType)
+    print('-------------------------------------------------')
     return contentType
     
 def make_dir(name_hash):