sharlsherif / generate-houstonlibrary-codes Goto Github PK
View Code? Open in Web Editor NEWA simple script to automate the process of getting a card number from Houstonlibrary.org in order to get free access to Lynda.com
A simple script to automate the process of getting a card number from Houstonlibrary.org in order to get free access to Lynda.com
Sorry i'm a bit bad with node.js, can anyone help me with this error?
c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master>node app.js
Script is running on port 5000
Opening the headless browser..
Started the process..
Gathering fake information..
Going to Houstonlibrary website..
(node:2444) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot set property 'value' of null
at puppeteer_evaluation_script:12:54
at ExecutionContext._evaluateInternal (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\ExecutionContext.js:122:13)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async ExecutionContext.evaluate (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\ExecutionContext.js:48:12)
at async c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\app.js:41:19
-- ASYNC --
at ExecutionContext. (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\helper.js:111:15)
at DOMWorld.evaluate (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\DOMWorld.js:112:20)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
-- ASYNC --
at Frame. (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\helper.js:111:15)
at Page.evaluate (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\Page.js:833:43)
at Page. (c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\node_modules\puppeteer\lib\helper.js:112:23)
at c:\Users\Yaas\Desktop\Generate-HoustonLibrary-Codes-master\app.js:41:30
at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:2444) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:2444) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I apologize in advance, I don't know Node so I cannot give you information other than what the terminal yielded
events.js:292
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::5000
at Server.setupListenHandle [as _listen2] (net.js:1313:16)
at listenInCluster (net.js:1361:12)
at Server.listen (net.js:1447:7)
at Function.listen (/Users/mehdibenouhoud/Downloads/Generate-HoustonLibrary-Codes-master/node_modules/express/lib/application.js:618:24)
at Object.<anonymous> (/Users/mehdibenouhoud/Downloads/Generate-HoustonLibrary-Codes-master/app.js:79:5)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1340:8)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '::',
port: 5000
}
If anyone is interested to work on this with me. please let me know.
Can you find a library that supports free Udemy classes?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.