video_test.js 551 B

1234567891011121314151617181920212223
  1. detail(`https://www.youtube.com/watch?v=bu7nU9Mhpyo`, 'WEB')
  2. .then(res => {
  3. console.log(res);
  4. })
  5. .catch(e => {
  6. console.log(e);
  7. })
  8. //
  9. // search("周 杰伦", null, "WEB")
  10. // .then(res => {
  11. // console.log(res);
  12. //
  13. // search("周 杰伦", res["data"]["next"], "WEB")
  14. // .then(res => {
  15. // console.log(res);
  16. // })
  17. // .catch(e => {
  18. // console.log(e);
  19. // })
  20. // })
  21. // .catch(e => {
  22. // console.log(e);
  23. // })