tronclass-auto 1.5.5 → 1.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/video.js +0 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tronclass-auto",
3
- "version": "1.5.5",
3
+ "version": "1.5.6",
4
4
  "description": "自動觀看 eclass/TronClass 影片、填寫表單的 CLI 工具",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/video.js CHANGED
@@ -116,11 +116,6 @@ async function watchYouTube(page, stats) {
116
116
  } catch (e) {
117
117
  log(chalk.yellow(` YouTube error: ${e.message}`));
118
118
  }
119
- log(chalk.yellow(` State: ${state2}`));
120
- }
121
- } catch (e) {
122
- log(chalk.yellow(` YouTube error: ${e.message}`));
123
- }
124
119
 
125
120
  await page.waitForTimeout(2000);
126
121