项目作者: stephenkingsley

项目描述 :
nodejs cambridge dictionary using puppeteer
高级语言: JavaScript
项目地址: git://github.com/stephenkingsley/nodejs-cambridge-dictionary.git


cambridge-dictionary

nodejs cambridge dictionary using puppeteer to obtain vocabularies.



DEMO

website: http://78.141.218.138:7001/

Develop

  1. git clone git@github.com:stephenkingsley/nodejs-cambridge-dictionary.git
  2. cd nodejs-cambridge-dictionary
  3. npm install
  4. npm run dev

open http://127.0.0.1:7001 and then you can modifies the value of search!

APIs

/api/search?search=[vocabulary you want to search]

  1. {
  2. "success":true,
  3. "msg":"ok",
  4. "data":{
  5. "word":"elude",
  6. "posgram":"verb [ T ]",
  7. "usPhonogram":"/iˈluːd/",
  8. "ukPhonogram":"/iˈluːd/",
  9. "meaningList":[
  10. {
  11. "def":"If something that you want eludes you, you do not succeed in achieving it: ",
  12. "dsense":"elude verb [T]
  13. (NOT ACHIEVE)
  14. ",
  15. "defBody":[
  16. "The gold medal continues to elude her. They had minor breakthroughs but real success eluded them. ",
  17. "They eluded the police by fleeing. ",
  18. "I know who you mean but her name eludes me. ",
  19. "The bear that had eluded capture for so long was caught at last. ",
  20. "It was simply her misfortune that an Olympic medal eluded her in 1988. ",
  21. "elusive memories "
  22. ]
  23. },
  24. {
  25. "def":"to not be caught by someone: ",
  26. "dsense":"elude verb [T]
  27. (NOT BE CAUGHT)
  28. ",
  29. "defBody":[
  30. "The gold medal continues to elude her. They had minor breakthroughs but real success eluded them. ",
  31. "They eluded the police by fleeing. ",
  32. "I know who you mean but her name eludes me. ",
  33. "The bear that had eluded capture for so long was caught at last. ",
  34. "It was simply her misfortune that an Olympic medal eluded her in 1988. ",
  35. "elusive memories "
  36. ]
  37. },
  38. {
  39. "def":"If a piece of information eludes you, you cannot remember it: ",
  40. "dsense":"elude verb [T]
  41. (NOT REMEMBER)
  42. ",
  43. "defBody":[
  44. "The gold medal continues to elude her. They had minor breakthroughs but real success eluded them. ",
  45. "They eluded the police by fleeing. ",
  46. "I know who you mean but her name eludes me. ",
  47. "The bear that had eluded capture for so long was caught at last. ",
  48. "It was simply her misfortune that an Olympic medal eluded her in 1988. ",
  49. "elusive memories "
  50. ]
  51. },
  52. {
  53. "def":"to avoid someone or something: ",
  54. "defBody":[
  55. "The gold medal continues to elude her. They had minor breakthroughs but real success eluded them. ",
  56. "They eluded the police by fleeing. ",
  57. "I know who you mean but her name eludes me. ",
  58. "The bear that had eluded capture for so long was caught at last. ",
  59. "It was simply her misfortune that an Olympic medal eluded her in 1988. ",
  60. "elusive memories "
  61. ]
  62. },
  63. {
  64. "def":"If something eludes you, you do not succeed in achieving it: ",
  65. "defBody":[
  66. "The gold medal continues to elude her. They had minor breakthroughs but real success eluded them. ",
  67. "They eluded the police by fleeing. ",
  68. "I know who you mean but her name eludes me. ",
  69. "The bear that had eluded capture for so long was caught at last. ",
  70. "It was simply her misfortune that an Olympic medal eluded her in 1988. ",
  71. "elusive memories "
  72. ]
  73. }
  74. ],
  75. "examples":[
  76. ]
  77. }
  78. }