Giter Site home page Giter Site logo

dhvitop / animeez Goto Github PK

View Code? Open in Web Editor NEW
103.0 4.0 57.0 12.27 MB

AnimeEZ - An Anime Streaming website without any ads for free (Demo - https://animeez.live) BTW ITS MADE IN HTML

Home Page: https://animeez.live

JavaScript 17.18% CSS 49.45% EJS 33.37%
anime anime-scraper anime-streaming no-ads streaming anime-streaming-for-free gogoanime html nodejs hls

animeez's Issues

Code mistake

You should remove the code loggin infos into the browser console.
Cause it might give infos you don't want to give.
image

Error on website when trying to stream a video

TypeError: /home/runner/AnimeEZ/views/watch.ejs:159
    157|               
    158|                               
 >> 159|                               <% 
    160|                                
    161|                                 if(details.watch.server === "SB Stream") { %>
    162|                             	<iframe src="<%- details.watch.watch %>" id="iframe-to-load" allowfullscreen="true"></iframe>

Cannot read property 'server' of undefined
    at eval ("/home/runner/AnimeEZ/views/watch.ejs":25:50)
    at watch (/home/runner/AnimeEZ/node_modules/ejs/lib/ejs.js:692:17)
    at tryHandleCache (/home/runner/AnimeEZ/node_modules/ejs/lib/ejs.js:272:36)
    at View.exports.renderFile [as engine] (/home/runner/AnimeEZ/node_modules/ejs/lib/ejs.js:489:10)
    at View.render (/home/runner/AnimeEZ/node_modules/express/lib/view.js:135:8)
    at tryRender (/home/runner/AnimeEZ/node_modules/express/lib/application.js:640:10)
    at Function.render (/home/runner/AnimeEZ/node_modules/express/lib/application.js:592:3)
    at ServerResponse.render (/home/runner/AnimeEZ/node_modules/express/lib/response.js:1017:7)
    at /home/runner/AnimeEZ/index.js:58:7
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

Please fix!

Ded

The Site is no longer working

Data Undefined - When running locally (403 Forbidden)

How do I fix the issue with failed API responses? Note it is the streaming which is the issue
(403 Forbidden)

Error: Malformed UTF-8 data
    at Object.stringify (C:\Users\ADGSENPAI\Code\AnimeEZ\node_modules\crypto-js\core.js:523:24)
    at generateEncryptAjaxParameters (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:338:36)
    at scrapeMP4 (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:357:18)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.watchAnime (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:292:7)
    at async C:\Users\ADGSENPAI\Code\AnimeEZ\index.js:36:18
Error: Malformed UTF-8 data
    at Object.stringify (C:\Users\ADGSENPAI\Code\AnimeEZ\node_modules\crypto-js\core.js:523:24)
    at generateEncryptAjaxParameters (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:338:42)
    at scrapeMP4 (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:357:24)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.watchAnime (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:292:9)
    at async C:\Users\ADGSENPAI\Code\AnimeEZ\index.js:44:19
Error: Malformed UTF-8 data
    at Object.stringify (C:\Users\ADGSENPAI\Code\AnimeEZ\node_modules\crypto-js\core.js:523:24)
    at generateEncryptAjaxParameters (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:338:42)
    at scrapeMP4 (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:357:24)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.watchAnime (C:\Users\ADGSENPAI\Code\AnimeEZ\api.js:292:9)
    at async C:\Users\ADGSENPAI\Code\AnimeEZ\index.js:44:19
Error: Request failed with status code 403
    at createError (C:\Users\ADGSENPAI\Code\AnimeEZ\node_modules\axios\lib\core\createError.js:16:15)
    at settle (C:\Users\ADGSENPAI\Code\AnimeEZ\node_modules\axios\lib\core\settle.js:17:12)
    at IncomingMessage.handleStreamEnd (C:\Users\ADGSENPAI\Code\AnimeEZ\node_modules\axios\lib\adapters\http.js:312:11)
    at IncomingMessage.emit (node:events:532:35)
    at endReadableNT (node:internal/streams/readable:1346:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [Function: httpAdapter],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    headers: {
      Accept: 'application/json, text/plain, */*',
      'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36',
      Referer: 'https://goload.pro/streaming.php?id=MTUxNDA2&title=Black+Clover+%28TV%29+Episode+161&typesub=SUB',
      'X-Requested-With': 'XMLHttpRequest'
    },
    method: 'get',
    url: '\n' +
      '        https://goload.pro/encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias=',
    data: undefined
  },
  request: <ref *1> ClientRequest {
    _events: [Object: null prototype] {
      abort: [Function (anonymous)],
      aborted: [Function (anonymous)],
      connect: [Function (anonymous)],
      error: [Function (anonymous)],
      socket: [Function (anonymous)],
      timeout: [Function (anonymous)],
      prefinish: [Function: requestOnPrefinish]
    },
    _eventsCount: 7,
    _maxListeners: undefined,
    outputData: [],
    outputSize: 0,
    writable: true,
    destroyed: false,
    _last: true,
    chunkedEncoding: false,
    shouldKeepAlive: false,
    maxRequestsOnConnectionReached: false,
    _defaultKeepAlive: true,
    useChunkedEncodingByDefault: false,
    sendDate: false,
    _removedConnection: false,
    _removedContLen: false,
    _removedTE: false,
    _contentLength: 0,
    _hasBody: true,
    _trailer: '',
    finished: true,
    _headerSent: true,
    _closed: false,
    socket: TLSSocket {
      _tlsOptions: [Object],
      _secureEstablished: true,
      _securePending: false,
      _newSessionPending: false,
      _controlReleased: true,
      secureConnecting: false,
      _SNICallback: null,
      servername: 'goload.pro',
      alpnProtocol: false,
      authorized: true,
      authorizationError: null,
      encrypted: true,
      _events: [Object: null prototype],
      _eventsCount: 10,
      connecting: false,
      _hadError: false,
      _parent: null,
      _host: 'goload.pro',
      _readableState: [ReadableState],
      _maxListeners: undefined,
      _writableState: [WritableState],
      allowHalfOpen: false,
      _sockname: null,
      _pendingData: null,
      _pendingEncoding: '',
      server: undefined,
      _server: null,
      ssl: [TLSWrap],
      _requestCert: true,
      _rejectUnauthorized: true,
      parser: null,
      _httpMessage: [Circular *1],
      [Symbol(res)]: [TLSWrap],
      [Symbol(verified)]: true,
      [Symbol(pendingSession)]: null,
      [Symbol(async_id_symbol)]: 1510,
      [Symbol(kHandle)]: [TLSWrap],
      [Symbol(kSetNoDelay)]: false,
      [Symbol(lastWriteQueueSize)]: 0,
      [Symbol(timeout)]: null,
      [Symbol(kBuffer)]: null,
      [Symbol(kBufferCb)]: null,
      [Symbol(kBufferGen)]: null,
      [Symbol(kCapture)]: false,
      [Symbol(kBytesRead)]: 0,
      [Symbol(kBytesWritten)]: 0,
      [Symbol(connect-options)]: [Object],
      [Symbol(RequestTimeout)]: undefined
    },
    _header: 'GET /encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias= HTTP/1.1\r\n' +
      'Accept: application/json, text/plain, */*\r\n' +
      'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36\r\n' +
      'Referer: https://goload.pro/streaming.php?id=MTUxNDA2&title=Black+Clover+%28TV%29+Episode+161&typesub=SUB\r\n' +
      'X-Requested-With: XMLHttpRequest\r\n' +
      'Host: goload.pro\r\n' +
      'Connection: close\r\n' +
      '\r\n',
    _keepAliveTimeout: 0,
    _onPendingData: [Function: nop],
    agent: Agent {
      _events: [Object: null prototype],
      _eventsCount: 2,
      _maxListeners: undefined,
      defaultPort: 443,
      protocol: 'https:',
      options: [Object: null prototype],
      requests: [Object: null prototype] {},
      sockets: [Object: null prototype],
      freeSockets: [Object: null prototype] {},
      keepAliveMsecs: 1000,
      keepAlive: false,
      maxSockets: Infinity,
      maxFreeSockets: 256,
      scheduling: 'lifo',
      maxTotalSockets: Infinity,
      totalSocketCount: 1,
      maxCachedSessions: 100,
      _sessionCache: [Object],
      [Symbol(kCapture)]: false
    },
    socketPath: undefined,
    method: 'GET',
    maxHeaderSize: undefined,
    insecureHTTPParser: undefined,
    path: '/encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias=',
    _ended: true,
    res: IncomingMessage {
      _readableState: [ReadableState],
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      socket: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      rawHeaders: [Array],
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 403,
      statusMessage: 'Forbidden',
      client: [TLSSocket],
      _consuming: true,
      _dumped: false,
      req: [Circular *1],
      responseUrl: 'https://goload.pro/encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias=',
      redirects: [],
      [Symbol(kCapture)]: false,
      [Symbol(kHeaders)]: [Object],
      [Symbol(kHeadersCount)]: 22,
      [Symbol(kTrailers)]: null,
      [Symbol(kTrailersCount)]: 0,
      [Symbol(RequestTimeout)]: undefined
    },
    aborted: false,
    timeoutCb: null,
    upgradeOrConnect: false,
    parser: null,
    maxHeadersCount: null,
    reusedSocket: false,
    host: 'goload.pro',
    protocol: 'https:',
    _redirectable: Writable {
      _writableState: [WritableState],
      _events: [Object: null prototype],
      _eventsCount: 3,
      _maxListeners: undefined,
      _options: [Object],
      _ended: true,
      _ending: true,
      _redirectCount: 0,
      _redirects: [],
      _requestBodyLength: 0,
      _requestBodyBuffers: [],
      _onNativeResponse: [Function (anonymous)],
      _currentRequest: [Circular *1],
      _currentUrl: 'https://goload.pro/encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias=',
      [Symbol(kCapture)]: false
    },
    [Symbol(kCapture)]: false,
    [Symbol(kNeedDrain)]: false,
    [Symbol(corked)]: 0,
    [Symbol(kOutHeaders)]: [Object: null prototype] {
      accept: [Array],
      'user-agent': [Array],
      referer: [Array],
      'x-requested-with': [Array],
      host: [Array]
    }
  },
  response: {
    status: 403,
    statusText: 'Forbidden',
    headers: {
      date: 'Tue, 19 Apr 2022 21:32:33 GMT',
      'content-type': 'text/html',
      'transfer-encoding': 'chunked',
      connection: 'close',
      vary: 'Accept-Encoding',
      'cf-cache-status': 'DYNAMIC',
      'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
      'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ccVfvk3lYFvKdbcRtFawtStgFd5FrTS7dvoIUu3k6ErP5pXB6m7blvsgad6FYIokFV4I4jixICEzEU4AC5Ey6l0cVTmAwDH0vuEdoEq5IZVvmG5fc3KB0LHA6Nc%3D"}],"group":"cf-nel","max_age":604800}',
      nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
      server: 'cloudflare',
      'cf-ray': '6fe8c0e5fa8d9cc7-JNB'
    },
    config: {
      transitional: [Object],
      adapter: [Function: httpAdapter],
      transformRequest: [Array],
      transformResponse: [Array],
      timeout: 0,
      xsrfCookieName: 'XSRF-TOKEN',
      xsrfHeaderName: 'X-XSRF-TOKEN',
      maxContentLength: -1,
      maxBodyLength: -1,
      validateStatus: [Function: validateStatus],
      headers: [Object],
      method: 'get',
      url: '\n' +
        '        https://goload.pro/encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias=',
      data: undefined
    },
    request: <ref *1> ClientRequest {
      _events: [Object: null prototype],
      _eventsCount: 7,
      _maxListeners: undefined,
      outputData: [],
      outputSize: 0,
      writable: true,
      destroyed: false,
      _last: true,
      chunkedEncoding: false,
      shouldKeepAlive: false,
      maxRequestsOnConnectionReached: false,
      _defaultKeepAlive: true,
      useChunkedEncodingByDefault: false,
      sendDate: false,
      _removedConnection: false,
      _removedContLen: false,
      _removedTE: false,
      _contentLength: 0,
      _hasBody: true,
      _trailer: '',
      finished: true,
      _headerSent: true,
      _closed: false,
      socket: [TLSSocket],
      _header: 'GET /encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias= HTTP/1.1\r\n' +
        'Accept: application/json, text/plain, */*\r\n' +
        'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36\r\n' +
        'Referer: https://goload.pro/streaming.php?id=MTUxNDA2&title=Black+Clover+%28TV%29+Episode+161&typesub=SUB\r\n' +
        'X-Requested-With: XMLHttpRequest\r\n' +
        'Host: goload.pro\r\n' +
        'Connection: close\r\n' +
        '\r\n',
      _keepAliveTimeout: 0,
      _onPendingData: [Function: nop],
      agent: [Agent],
      socketPath: undefined,
      method: 'GET',
      maxHeaderSize: undefined,
      insecureHTTPParser: undefined,
      path: '/encrypt-ajax.php?id=ydqewj6/8LkWZgy7x/URjg==&alias=',
      _ended: true,
      res: [IncomingMessage],
      aborted: false,
    },
    data: '<html>\r\n' +
      '<head><title>403 Forbidden</title></head>\r\n' +
      '<body bgcolor="white">\r\n' +
      '<center><h1>403 Forbidden</h1></center>\r\n' +
      '<hr><center>nginx</center>\r\n' +
      '</body>\r\n' +
      '</html>\r\n' +
      '<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n' +
      '<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n' +
      '<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n' +
      '<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n' +
      '<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n' +
      '<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n'
  },
  isAxiosError: true,
  toJSON: [Function: toJSON]
}

Can I have an example of a basic stream demo?

Hi, can you show me a demo how you can render an anime video/episode in HTML/JavaScript?

Nothing fancy just render the anime episode video in a blank HTML file.
Can you show me how to render anyone of that below? I will be very grateful if you can give me an easy example to work with.
I will build the anime app for cross platform and also use your guys API.

My stack I will use is Python, React.JS and my custom WEBSDK called ADGWEBSDK.

{
	"headers": {
		"Referer": "https://gogoplay.io/"
	},
	"data": [
		{
			"file": "https://vidstreamingcdn.com/cdn34/a96411258da4b8a75319906d0cc507f7/EP.18.v0.1644104042.360p.mp4?mac=7GmeilE5nn5L7xGZqxt4YNTnzQ53eEazGha0ZBD15WU%3D&vip=&expiry=1644122389382",
			"label": "360 P",
			"type": "mp4"
		},
		{
			"file": "https://vidstreamingcdn.com/cdn34/a96411258da4b8a75319906d0cc507f7/EP.18.v0.1644104042.480p.mp4?mac=JBKmkO3IViHhGVSsXLekTDjhGICtfkmvXPuW7wEPGuw%3D&vip=&expiry=1644122389440",
			"label": "480 P",
			"type": "mp4"
		},
		{
			"file": "https://vidstreamingcdn.com/cdn34/a96411258da4b8a75319906d0cc507f7/EP.18.v0.1644104042.720p.mp4?mac=wx74gKGn9SeKI%2BFJRUbR6n3ohlwcdf9ANYZhJgtSG54%3D&vip=&expiry=1644122389494",
			"label": "720 P",
			"type": "mp4"
		},
		{
			"file": "https://vidstreamingcdn.com/cdn34/a96411258da4b8a75319906d0cc507f7/EP.18.v0.1644104042.1080p.mp4?mac=vBygNaIMu43c33aeSeMzl%2Fp24QG5QTEzI6adjkaemIE%3D&vip=&expiry=1644122389554",
			"label": "1080 P",
			"type": "mp4"
		},
		{
			"file": "https://vidstreamingcdn.com/cdn34/a96411258da4b8a75319906d0cc507f7/EP.18.v0.1644104042.720p.mp4?mac=wx74gKGn9SeKI%2BFJRUbR6n3ohlwcdf9ANYZhJgtSG54%3D&vip=&expiry=1644122389494",
			"label": "Auto",
			"default": "true",
			"type": "mp4"
		}
	]
}

not runing

i am facing 404 error in [AnimeEZ]
I have change the url of gogoanime in the config.js to gogoanime.ee

CHART1

Streaming not working error 404

Hi,
As you mentioned I set the gogoanime website link to gogoanime.ee and it worked, but I can't watch anything every anime stream returns with the error not found 404.
see the video attached.

msedge_vkILBAKGjL.mp4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.