ºÙÀâ´Ù ¼øÀ§ ¹× ¿ä¾à
- °Ô½ÃÀÚ À̸§:
- Grigoriy Petukhov
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://bitbucket.org/lorien/
ºÙÀâ´Ù ű×
ºÙÀâ´Ù ¼³¸í
pycurl ·¡ÆÛ GrabÀº CurlÀ» »ç¿ëÇÏ¿© ±¸µ¿µÇ´Â »çÀÌÆ® ½ºÅ©·¹ÀÌÆÛÀÔ´Ï´Ù. * Pycurl ¶óÀ̺귯¸®¿¡ °£´ÜÇÑ ÀÎÅÍÆäÀ̽º¸¦ Á¦°øÇÕ´Ï´Ù. * ½±°Ô ±Ü¾î ³¾ ¼öÀÖ´Â µµ±¸¸¦ Á¦°øÇÏ°í ÆÄÀ̽㠰æ·Î·Î À¥ »çÀÌÆ® installationpt grab ÆÐÅ°Áö¸¦ Á¦°øÇÏ°í ±×°ÍÀ» ÀÐÀ» ¼öÀÖ´Â ·¯½Ã¾Æ¾î¸¦ ÀÌÇØÇÒ ¼ö ÀÖ½À´Ï´Ù. Google Ȩ ÆäÀÌÁöÀÇ kibÀÇ Å©±â¸¦ UsageFindÀÇ hereexamples. ±×·¦ °¡Á® ¿À±â grabg = grab () g.setup (url = 'http : //google.com') g.request () Àμâ len (g.response_body) / / 1024log in to bitbucket.org ¹× »ç¿ëÀÚ¿¡°Ô ¸Þ½ÃÁö¸¦ º¸³»½Ê½Ã¿À lorien.from °¡Á® ¿À±â grabg = grab () g.setup (url = 'http : //bitbucket.org/account/signin/', post = {username ') 'Lorien', 'password': '****', 'blogin': '·Î±×ÀÎ'}) g.request () g.setup (url = 'http : //bitbucket.org/notifications/send/' , POST = {¼ö½ÅÀÚ ':'LORIEN ','TITLE ':'¾È³çÇϼ¼¿ä, ³ª ','¸Þ½ÃÁö ':'´ç½ÅÀº ¾î¶°¼¼¿ä? '}) g.request () ¿ä±¸ »çÇ× : ¡¤ ÆÄÀ̽㠡¤ Äà ¹× libcurl.
ºÙÀâ´Ù °ü·Ã ¼ÒÇÁÆ®¿þ¾î