Skip to content

Commit

Permalink
removed logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowBr0ther committed Jan 25, 2024
1 parent cf23a5f commit feeb90d
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 10 deletions.
2 changes: 0 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions dist/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1255,9 +1255,7 @@ var KeyMapper = {
var parseVideoCount = (text) => {
if (!text)
return 0;
console.log(text);
const match = text.match(/Showing \d+-\d+ of (\d+)/);
console.log(match);
if (match)
return parseReadableNumber(match[1]);
return 0;
Expand Down
2 changes: 1 addition & 1 deletion dist/index.mjs.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/scrapers/pages/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,7 @@ const KeyMapper: Record<string, {
const parseVideoCount = (text: string) => {
// "Showing 1-XX of YY"
if (!text) return 0

console.log(text)

const match = text.match(/Showing \d+-\d+ of (\d+)/)
console.log(match)
if (match) return parseReadableNumber(match[1])


Expand Down

0 comments on commit feeb90d

Please sign in to comment.