| opengraph. ¿¸° ±×·¡ÇÁ ÇÁ·ÎÅäÄÝÀ» ±¸¹® ºÐ¼®ÇÏ´Â ¸ðµâ |
Áö±Ý ´Ù¿î·Îµå |
opengraph. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- MIT/X Consortium Lic...
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://github.com/erikriver/
opengraph. ű×
opengraph. ¼³¸í
¿¸° ±×·¡ÇÁ ÇÁ·ÎÅäÄÝÀ» ±¸¹® ºÐ¼®ÇÏ´Â ¸ðµâ OpenGraph´Â ¿¸° ±×·¡ÇÁ ÇÁ·ÎÅäÄÝÀ» ±¸¹® ºÐ¼®Çϱâ À§ÇØ ÆÄÀ̽ãÀÇ ÆÄÀ̽㠸ðµâÀ̸ç http://ogp.me/installationpip install openGraphusage¿¡¼ URLÀ» ¼³Ä¡ÇÒ ¼ö ÀÖ½À´Ï´Ù. >>> °¡Á® ¿À±â openGraph >>> ºñµð¿À = opengraph.opengraph (URL) = "http://www.youtube.com/watch?v=q3ixbmdzylq") >>> Video.is_valid () true >>> y video.Items () : ... Àμâ "% -15s => % s "% (x, y) ... site_name => youtubedescription => ¿¡¸¯ Ŭ·¦Åæ°ú Æú ¸ÆÄ«Æ®´Ï´Â Á¶Áö Çظ®½¼ÀÇ"³» ±âŸ°¡ ºÎµå·´°Ô ¿ïºÎ ¢´Â µ¿¾È ... Á¦¸ñ => ³» ±âŸ°¡ ºÎµå·´°Ô ¿ïÀ½ => http://www.youtube.com/watch?v=q3ixbmdzylqimage => http://i2.ytimg.com/vi/q3ixbmdzylq/default.jpgvideo:type => ÀÀ¿ë ÇÁ·Î±×·¥ / x-shockwave-flashvideo : height => 224video => http://www.youtube.com/v/q3ixbmdzylq?vdion=3autohide=1Video:Width => 398Type => VideoFROM HTML >>> html = "" "...
... ...
rock (1996) ... ... ... ... ... ...
..." ">>> ¿µÈ = opengraph.opengraph () # ¶Ç´Â ´ÙÀ½°ú °°ÀÌ ÀνºÅϽºÈ ÇÒ ¼ö ÀÖ½À´Ï´Ù. OpenGraph.OpenGraph (html = html) >>> movie.parser (html) >>> Video.is_valid () TrueGenerate Json ¶Ç´Â HTML >>>>>>>> ....
opengraph. °ü·Ã ¼ÒÇÁÆ®¿þ¾î