paperchaser's Issues
URL is not accepted.
When I run the seed file with the public google URL added, I get the following error:
Phonecian:PaperChaser skiwheelr$ node paperchaser.js crawl seed-file.txt
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
TypeError [ERR_INVALID_URL]: Invalid URL
at new NodeError (node:internal/errors:363:5)
at onParseError (node:internal/url:536:9)
at new URL (node:internal/url:612:5)
at /Users/skiwheelr/PaperChaser/libs/parsing.js:135:28
at Array.map (<anonymous>)
at Object.get_ids_from_urls (/Users/skiwheelr/PaperChaser/libs/parsing.js:124:37)
at Command.<anonymous> (/Users/skiwheelr/PaperChaser/paperchaser.js:52:34)
at Command.listener [as _actionHandler] (/Users/skiwheelr/PaperChaser/node_modules/commander/lib/command.js:473:17)
at /Users/skiwheelr/PaperChaser/node_modules/commander/lib/command.js:1173:65
at Command._chainOrCall (/Users/skiwheelr/PaperChaser/node_modules/commander/lib/command.js:1091:12) {
input: '',
code: 'ERR_INVALID_URL'
}
If I replace the URL string with random text (e.g. boogieman) it does record the string.
input: 'boogieman',
code: 'ERR_INVALID_URL'
}
It seems to return an empty string as input only IF it is a google drive link.
Is there some structure the seed-text file should follow or is it return separated raw url text?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.