test.js 591 B

1234567891011121314151617181920212223
  1. detail(`https://www.youtube.com/watch?v=sgEJ4sOwboM`, 'WEB')
  2. .then(res => {
  3. console.log(res);
  4. })
  5. .catch(e => {
  6. console.log(e);
  7. })
  8. // search("billboard pop songs 2024", null, "WEB")
  9. // .then(res => {
  10. // console.log(res);
  11. //
  12. // search("trump gets mercilessly booed at speech", res["data"]["next"], "WEB")
  13. // .then(res => {
  14. // console.log(res);
  15. // })
  16. // .catch(e => {
  17. // console.log(e);
  18. // })
  19. // })
  20. // .catch(e => {
  21. // console.log(e);
  22. // })