2020å¹´12æ16æ¥è¿½è¨ï¼æ°ä»ããããã£ã±ãããã¯ãã¼ã¯ãã¤ãã¦ãã¦ããããã£ãã§ãããããã¨ããããã¾ããã¯ã¦ãªããã¯ãã¼ã¯æ¬å®¶ã§ãã¿ã°ã®ä¸æ¬ç·¨éæ©è½ãã復活ãã¾ãããããã§æ¬ãã¼ã«ã¯å¾¡å½¹å¾¡å ã§ããããå©ç¨ãã¦ããã ããæ¹ããããã¨ããããã¾ããã - ãã¿ã°ã®ä¸æ¬ç·¨éæ©è½ããPCã®ãã©ã¦ã¶ã§åæä¾ãããã¾ã - ã¯ã¦ãªããã¯ãã¼ã¯éçºããã°
ã¯ã¦ãªããã¯ãã¼ã¯ã®ãã¿ã°ã® ä¸æ¬ ç·¨éï¼ã¿ã°ã® ç½®æ ï¼ å¤æ´ï¼ããã¿ã°åã«ãã ä¸æ¬ åé¤ããæ¥ä»ã«ãã ä¸æ¬ åé¤ãã®3æ©è½ãæä¾ããWindowsã¢ããªã§ããç°¡åãªæä½ã§ä½¿ãã¾ããâ»éå ¬éããã¯ãã¼ã¯ã«ã対å¿ãã¦ãã¾ãï¼
â»æ³¨æäºé ï¼ æ¬ãã¼ã«ã®ä½¿ç¨ã«ãã£ã¦ãä½ãèµ·ãã£ã¦ãç¡è£åã§ããä½è ã¯ä¸åã®è²¬ä»»ãè² ãã¾ãããèªå·±è²¬ä»»ã§ãé¡ããã¾ãããäºæ¿ã®ããã§æ¬ãã¼ã«ãã使ç¨ãã ããããã¡ãããã¼ã«ä½è èªèº«ãæ¬ãã¼ã«ã使ã£ã¦ãã¾ãã®ã§ããããªå¤§å¤ãªãã©ãã«ã¯èµ·ããªãã¨ã¯æãã¾ããã
ç®ç
ãã¤ã¦ãã¯ã¦ãªããã¯ãã¼ã¯ãã§ã¯ã¿ã°ã®ä¸æ¬ç½®ææ©è½ãæä¾ããã¦ãã¾ãããããã¾ã使ãããªãã£ãããããæ©è½ãå»æ¢ããã¦ãã¾ãã¾ãããããã§ãã¿ã°ä¸æ¬ç½®æããè¡ãããã®ç°¡åæä½ãã¼ã«ï¼Windowsã¢ããªï¼ãä½ãã¾ããã
ããã«ãæå®ã¿ã°åãå«ã¾ããããã¯ãã¼ã¯ãä¸æ¬åé¤ããããæå®æ¥ããåã®ããã¯ãã¼ã¯ãä¸æ¬åé¤ãããããããã®æ©è½ãããã®ãã¼ã«ã«æè¼ãã¾ããã
ï¼ã¡ãªã¿ã«æåã«ä½ãå§ããã®ã¯2019å¹´7æã§ãããã2020å¹´4æã«è¡ã£ãã¿ã°æ´çããã£ããã«ãå ¨æ©è½ãå®æããã¾ãããï¼
ã¦ã¼ã¹ã±ã¼ã¹ï¼ç¨éï¼
- ä¾ãã°ããã¼ã«ã製åãªã©ã®ååãå¤ãã£ãããã«ãã¿ã°ã®ååãå¤ããããâãï¼»ã¿ã°ä¸æ¬ç½®æï¼½
- ä¾ãã°ãä¸åº¦ã¤ããååããã£ããããªãã¦ãå¾æãã¦ãããâãï¼»ã¿ã°ä¸æ¬ç½®æï¼½
- ä¾ãã°ãæè¡ãå»ããã製åããªããªã£ãããããããã¿ã°ãã¨ããã¯ãã¼ã¯ããªãããããâãï¼»ã¿ã°åã«ããä¸æ¬åé¤ï¼½
- ä¾ãã°ãã¸ã§ããã§ã³ã¸ã趣å³ã®å¤åãªã©ã®çç±ã§ãï¼ã¿ã°ä¸è¦§ã§åå¨æã大ããããï¼ä»¥åã®ã¿ã°ã®åå¨æãå¼±ãããããâãï¼»ã¿ã°åã«ããä¸æ¬åé¤ï¼½
- ä¾ãã°ã5年以ä¸åã®ããã¯ãã¼ã¯ã¯è¦è¿ããã¨ã¯ãªãã®ã§ãç´è¿æ°å¹´ãæ®ãã¦ããã¯ãã¼ã¯å ¨ä½ããªã»ããããããâãï¼»æ¥ä»ã«ããä¸æ¬åé¤ï¼½
- ä¾ãã°ãããã¯ãã¼ã¯ã大éããã¦ãå ¨ä½ãææ¡ãã¥ããã®ã§ãã¨ã«ããæ°ãæ¸ããã¦ã¹ãªã åããããâãï¼»æ¥ä»ã«ããä¸æ¬åé¤ï¼½
以ä¸ã®ãããªç¨éãèãããã¾ãããããã£ãç¨éã«åè´ããã®ãªãã°ã以ä¸ã®äºåæºåã¨ä½¿ãæ¹ã®æ¹æ³ã§ãã²ãã¼ã«ãHatebuTagManagerãã使ã£ã¦ã¿ã¦ãã ããã
äºåæºå
- ãã®ãã¼ã«ã¯ãã¯ã¦ãªããã¯ãã¼ã¯ REST APIãã使ã£ã¦ãã¾ãããã®èªè¨¼æ¹æ³ã¯ãOAuthã®ã¿ã¨ãªã£ã¦ãããConsumer keyã¨Secretãå¿ è¦ã§ãã
- Consumer keyã¨Secretã¯ãå ¬å¼ãã¼ã¸ãOAuth ã§ã¯ã¦ãªã®ãµã¼ãã¹ã«ã¢ã¯ã»ã¹ãã - ã¯ã¦ãªãã§åå¾ãã¦ãã ããã
- ï¼»æ°ããã¢ããªã±ã¼ã·ã§ã³ã®è¿½å ï¼½ãã¿ã³ãæ¼ãã ãã§ãã次ã«è¡¨ç¤ºãããç»é²ãã¼ã¸å ã®ï¼»ãã¼ï¼½æ¬ã«ãConsumer Keyã¨Secretã¯è¨è¼ããã¦ãã¾ãã
- ç»é²ãã¼ã¸å
ã®ï¼»æ¿èªãæ±ããæä½ï¼½æ¬ã§ãä¸è¨ã®4ã¤ã«ãã§ãã¯ãä»ãã¦ãä¸çªä¸ã®ï¼»å¤æ´ããï¼½ãã¿ã³ãæ¼ãã°å®äºã§ãã
read_public
â¦â¦ å ¬éæ å ±ã®èªã¿åãwrite_public
â¦â¦ å ¬éæ å ±ã®èªã¿åãã¨æ¸ãè¾¼ã¿ãåé¤read_private
â¦â¦ ãã©ã¤ãã¼ãæ å ±ãå«ãæ å ±ã®èªã¿åãwrite_private
â¦â¦ ãã©ã¤ãã¼ãæ å ±ãå«ãæ å ±ã®èªã¿åãã¨æ¸ãè¾¼ã¿
ãHatebuTagManagerãã®ä½¿ãæ¹
- ãã¼ã«ãHatebuTagManagerãã®ææ°ãã¼ã¸ã§ã³ã¯ãï¼»Releasesï¼½ãããHatebuTagManager.ï½.zip
ããã¡ã¤ã«ããã¦ã³ãã¼ããã¦ãã ããããã®.zipãã¡ã¤ã«ãå±éãã¦ããã©ã«ãã¼å
ã®
HatebuTagManager.exe
ãã¡ã¤ã«ãå®è¡ãã¦ãã ããï¼Windows 10å°ç¨ã§ãï¼ã
- ä¸ããé çªã«ãåå ¥åæ¬ã«é©åãªå 容ãå ¥åãããã¿ã³ãæ¼ãã¦ãã£ã¦ãã ããã
- â»ï¼»â¦â¦ï¼ãã¹ãç¨ï¼ï¼½ã¨æ¸ããã¦ãããã¿ã³ã¯ãæå®URLã®ããã¯ãã¼ã¯ã1ã¤ã ãå¦çããç¨ã§ããä¸æ¬å¦çæã¯ããã®ãã¿ã³ãæ¼ãå¿ è¦ã¯ããã¾ããã
- ã ã¹ããã 2 ãã§ã¯ã
- ãå ¬éãããã¯ãã¼ã¯ã®ã¿ã®å ´åï¼ ï¼»ãã¹ã¦ã®ãå ¬éãããã¯ãã¼ã¯æ å ±ã®åå¾ï¼½ãã¿ã³ãã¯ãªãã¯ãã¦ãã ããï¼æ軽ï¼ã
- ãå ¬éï¼éå ¬éãå ¨ããã¯ãã¼ã¯ãåå¾ãããå ´åï¼ ã¯ã¦ãªããã¯ãã¼ã¯å ¬å¼ã®ã¨ãã¹ãã¼ããã¼ã¸ ãããããã¯ãã¼ã¯å½¢å¼ã®ãã¼ã¿ãã¡ã¤ã«ããã¦ã³ãã¼ããã¦ããã¼ã«ä¸ã«ãã©ãã°ï¼ãããããã¦ãã ããï¼ãå§ãï¼ã詳ããã¯å¾è¿°ãã¾ãã
- ã ã¹ããã 3 ãã«ãä¸è¨ã®3æ©è½ã«å¯¾å¿ãããã¿ã³ãããã¾ãã
- ã ã¹ããã 3 ãã®å¦çä¸ã«å®è¡ãã©ããã¦ãæ¢ããããªã£ãå ´åã¯ãå³ä¸ã®ï¼»Ãï¼½ãã¿ã³ãã¯ãªãã¯ãã¦ãã ããã
- â»ãã ããããã¯å¼·å¶çµäºã§ã¢ããªãéãããã¨ã«ãªããã¢ããªãéããããç´åã«å¼·å¶çã«ãéä¸ã¾ã§å®æ½æ¸ã¿ã®çµæãã°ã®åºåããå®è¡ããã¾ãã
- ã ã¹ããã 3 ãã®3æ©è½ãå®è¡ããå¾ã§ãç¶ãã¦ã ã¹ããã 3 ãã®3æ©è½ãããã«å®è¡ãããå ´åã¯ãã ã¹ããã 2 ãã®ï¼»ãã¹ã¦ã®ããã¯ãã¼ã¯æ
å ±ã®åå¾ï¼½ãã¿ã³ãæ¼ãã¦ãå
¨ããã¯ãã¼ã¯æ
å ±ããªã»ãããã¦ããè¡ã£ã¦ãã ããã
- â»ææ°ã®ããã¯ãã¼ã¯æ å ±ãåå¾ãç´ãå¿ è¦ãããã¾ãã
ãå ¬éï¼éå ¬éãå ¨ããã¯ãã¼ã¯ãåå¾ããæ¹æ³
éå ¬éã®ããã¯ãã¼ã¯ãå«ãã¦å ¨ããã¯ãã¼ã¯ãåå¾ããããã®APIã¯æä¾ããã¦ãã¾ããããã®ãããã¦ã¼ã¶ã¼ã®æ¹ã§å ¨ããã¯ãã¼ã¯ãã¨ã¯ã¹ãã¼ãã¨ãã¦ããããæ¬ãã¼ã«ãHatebuTagManagerãã«ã¤ã³ãã¼ãããå¿ è¦ãããã¾ããã¤ã³ãã¼ãæ¹æ³ã¯ããã©ãã°ï¼ããããã®ã¿ãµãã¼ããã¦ãã¾ããæé ã¯ä»¥ä¸ã®ã¨ããã§ãã
- å ¬å¼ãã¼ã¸ãã¯ã¦ãªããã¯ãã¼ã¯ - è¨å® - ãã¼ã¿ç®¡çã
ãä¸è¨ã®å ¬å¼ãã¼ã¸ã«ã¢ã¯ã»ã¹ãã¦ãã ããã
ãã®ããã«ãã¦ã <ã¦ã¼ã¶ã¼ID>.bookmarks.html
ãã¡ã¤ã«ããã¦ã³ãã¼ãããããæ¬ãã¼ã«ã®ã ã¹ããã 1 ããå®è¡ããå¾ã§ã ã¹ããã 2 ãã¨ãã¦ããã®ãã¡ã¤ã«ããã¼ã«ä¸ã«ãã©ãã°ï¼ãããããã¦ãã ããã
ããã«å ¨ããã¯ãã¼ã¯æ å ±ãèªã¿è¾¼ã¾ãã¾ãã次ã«ã ã¹ããã 3 ãã®å®è¡ã«é²ãã§ãã ããã
ã注æç¹ãå®è¡æéã®è¡¨ç¤ºã«ã¤ãã¦
ç½®æï¼åé¤åã«ããã£ããã¨ããæ¦ç®æéãã¡ãã»ã¼ã¸ããã¯ã¹ã§è¡¨ç¤ºãã¾ãããããã¾ã§äºæ¸¬ã§ãããæ£ç¢ºã§ã¯ããã¾ãããç¹ã«ãå ¬éãããã¯ãã¼ã¯ã§ãæ¥ä»ã«ããä¸æ¬åé¤ãã®å ´åãåã ã®ããã¯ãã¼ã¯æ å ±ãåå¾ããªãã¨æ¥ä»ããã§ãã¯ã§ããªãããã«ããæé·æéãã®äºæ¸¬è¡¨ç¤ºã«ãªã£ã¦ãã¾ãï¼â»ãå ¬éï¼éå ¬éãå ¨ããã¯ãã¼ã¯ãåå¾ããå ´åã¯ããæ¥ä»ã«ããä¸æ¬åé¤ãã§ãããã¯ãã¼ã¯æ°ã§äºæ¸¬ãã¾ãï¼ã
ã¯ã¦ãªããã¯ãã¼ã¯APIã¸ã®å¦çè² è·ã軽æ¸ããããã5ï½6ç§ã«1å¦çãããã®ãã¼ã¹ã§å¦çãè¡ãã¾ãï¼â»ãµã¼ãã¹æä¾å´ã¸ã®é æ ®ã§ãï¼ããã£ã¦æä½ã§ãã100件ã§9åã1000件ã§1æé24åã10000件ã§14æéã¯ãããè¨ç®ã«ãªãã¾ãã使ããªãPCãªã©ã§ãã£ã¨å®è¡ããã¾ã¾ã«ãããããªå½¢ã§ä½¿ã£ã¦ãã ããã12æé以ä¸ããããããªå ´åã¯ãï¼å¾è¿°ã®TIPSãåèã«ï¼å ¨åé¤ãã¦æ°ãã«ããã¯ãã¼ã¯ãéå§ããæ¹ãããããããã¾ããã
â»æ¬ãã¼ã«ã¯åæ£åæå®è¡ã«ã¯å¯¾å¿ãã¦ããªãããããã¼ã«ãè¤æ°ç®æã§åæã«å®è¡ãããã¨ãããªãã§ãã ããã
ã注æç¹ãä¸æ¬åé¤æã®ã¨ã©ã¼ã«ã¤ãã¦
ã¯ã¦ãªããã¯ãã¼ã¯ã®ãªã³ã¯å ããªãå ´åãªã©ããã¯ã¦ãªããã¯ãã¼ã¯ REST APIãå é¨ã§ä½ããã®ã¨ã©ã¼ãèµ·ããããããã§ããæ¬ãã¼ã«å´ã§ã¯å¯¾å¦ã®ããããããã¾ããã主ã«404ã¨ã©ã¼ãåºããã¼ã¸ãããªãã¤ã¬ã¯ãè¨å®ãããã¦ãããã¼ã¸ãä¸è¦ãªã¯ã¨ãªãã©ã¡ã¼ã¿ã¼ãå¤æ°å«ã¾ãã¦ãããã¼ã¸ã§ããã®ã¨ã©ã¼ãèµ·ãã¦ããããã§ãã
ã¨ã©ã¼ãèµ·ãã£ãããã¯ãã¼ã¯ã¯ãå¦ççµæå¾ã®ãã°ãã¡ã¤ã«ã«è¨è¼ããã¦ãã¾ãããã®ããã¯ãã¼ã¯ãªã³ã¯ãéãã¦ãæåã§ç½®æï¼åé¤å¦çããã¦ãã ãããåºæ¬çãªæé ãç´¹ä»ãã¦ããã¾ãã
ï¼2ï¼ã¯ã¦ãªããã¯ãã¼ã¯ã®ã¦ã¼ã¶ã¼æ°ï¼1 userï¼ãã¯ãªãã¯ãã¦ãã ãããã´ãç®±ãã¿ã³ãã¯ãªãã¯ãã¦ããAPIã¨åãã§åé¤ã§ããªãç¾è±¡ã確èªãã¦ãã¾ãã
ããã«ãã£ã¦ããã¯ãã¼ã¯ãã¼ã¸ã表示ãããã¯ãã§ããã次ã®ããã«è¡¨ç¤ºãããå ´åã¯ãã§ã«åé¤æ¸ã¿ã§ãã
åé¤ãã¦ããªãå ´åã¯æ¬¡ã®ããã«è¡¨ç¤ºãããã¯ãã§ããããã§ã´ãç®±ãã¿ã³ãã¯ãªãã¯ãã¾ãã
ããã«ãã£ã¦åé¤ãããï¼»ããã¯ãã¼ã¯ï¼½ãã¿ã³ã表示ãããã¯ãã§ãã
æ¥ä»é ã§æãå¤ããã®ã«ã¢ã¯ã»ã¹ããã«ã¯ããhttps://b.hatena.ne.jp/(user-id)/bookmark?page=156ãã®ãããªURLã§ãã¼ã¸çªå·ãæå®ãã¦æå¾ã®ãã¼ã¸ãæ¢ãã°ããã§ããåããã¼ãåã¯ãããããæåã§åé¤ãã¦ãããã¨ãã§ãã¾ããâ»ä½è 確èªã§ã¯ãã©ããã¦ãåé¤ã§ããªãé ç®ãããã¾ãããã¯ã¦ãªããã¯ãã¼ã¯éå¶ä¼ç¤¾ã«åãåããã¦ã¿ã¾ãããããã¯ãã調æ»ã®çµæãã¦ã¼ã¶ã¼å´ã§ã¯ã§ããªããã¨ã®ãã¨ã§ãéå¶ä¼ç¤¾å´ã§åé¤ãã¦ããããã¨ãã§ãã¾ããã
ã¨ã©ã¼ã®ç¨®é¡ã«ãã£ã¦ã¯ãã ã¹ããã 2 ãã¨ã ã¹ããã 3 ãã®ä¸é£ã®å¦çãä½åº¦ãç¹°ãè¿ããã¨ã§ãä½ã¨ãAPIå é¨ã§å¦çãã¦ãããå ´åããããã¨ã確èªãã¦ãã¾ããå¿ è¦ã«å¿ãã¦ãã試ããã ããã
ãTIPSãã¯ã¦ãªããã¯ãã¼ã¯ã®å ¨åé¤
ã¯ã¦ãªããã¯ãã¼ã¯ã®å ¨åé¤æ©è½ã¯ãå ¬å¼ã«æä¾ããã¦ãã¾ãï¼æ å ±æºãããã¯ãã¼ã¯ã®å ¨åé¤æ©è½ã®æä¾ãåéãã¾ãã - ã¯ã¦ãªããã¯ãã¼ã¯éçºããã°ãï¼ã
ä¸è¨URLã«ã¢ã¯ã»ã¹ããï¼»ããã¯ãã¼ã¯ã®å ¨åé¤ï¼½æ¬ã®ï¼»åé¤ãé²ããï¼½ãã¿ã³ãã¯ãªãã¯ããã ãã§ãã
æ¬ãã¼ã«ã®éçºã«ã¤ãã¦
ãã®ãã¼ã«ã¯ç¡æã§ãããããã¾ã§å人ã®æéã§ç°¡æçã«ï¼1æ¥ãããã§ï¼ä½æãããã®ã§ãããã£ã¦as-isï¼ããã®ã¾ã¾ã®ç¶æ ï¼ã§ã®æä¾ã¨ãã¾ãã
ï¼»Issuesï¼½ã«è³ªåãä¸å ·åã®å ±åããããã¨ã¯å¯è½ã§ãããã ããä¸è¨ã®çç±ã§ãã®ãã¼ã«éçºã«å¯¾ããä½è å人ã®åªå 度ã¯ä½ãã対å¿ã¯ãã¾ãæå¾ ã§ããªãã¨ãèããã ããã
ï¼»Pull Requestsï¼½ãåãä»ãã¾ããæéãããã¨ãã«ã¯å¯¾å¿ãã¾ãï¼æ°ã«æï½å¹´åä½ã®å ´åãããã¾ãï¼ãã¾ãããç©æ¥µçã«éçºããããã¨ããæ¹ãããã£ãããã°ãcollaboratorã¨ãã¦æå¾ ãã¾ãã®ã§ãä½ããã®æ段ã§ãç¥ãããã ããã
ã©ã¤ã»ã³ã¹
- MITã©ã¤ã»ã³ã¹