Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: extract url source at flixhq #478

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

dhelbegor
Copy link
Contributor

What kind of change does this PR introduce?
Solved a bug when trying to extract source url at flixHQ.

Did you add tests for your changes?
No, bug the tests related to the functionality is working now.

If relevant, did you update the documentation?
No

Summary
Closes #569

Other information

@riimuru riimuru merged commit f1d8361 into consumet:master Feb 27, 2024
4 of 5 checks passed
@riimuru riimuru linked an issue Feb 27, 2024 that may be closed by this pull request
@fsmdeveloper
Copy link

Thank you, brother! I am checking it.

@dhelbegor
Copy link
Contributor Author

Thank you, brother! I am checking it.

You are welcome. Please, let me know if it works correctly for you too :D.

@fsmdeveloper
Copy link

**YES BROTHER!!! 😍 It's working properly! thank you so much!! ❤️❤️

@fsmdeveloper
Copy link

movie/watch-avatar-19690

Bro, is there any way to retrieve TMDB ID or IMDb ID using the media ID? "19690"

@ClayArsenio26
Copy link

movie/watch-avatar-19690

Bro, is there any way to retrieve TMDB ID or IMDb ID using the media ID? "19690"

bro help me how to install the consumet.ts in server I have install npm but I cant run consumet.ts bro pleaseee.
now I install only pull from docker from api.consumet.org please sahre to me step by step to run consumet.ts contact me on telegram t.me/kimjonghung

@dhelbegor
Copy link
Contributor Author

movie/watch-avatar-19690

Bro, is there any way to retrieve TMDB ID or IMDb ID using the media ID? "19690"

hummm, I don't think so. they are diferent ID's. maybe u can use the movie/tv series title and retrieve the data from those sites.

you can try to bring the discussion to discord: https://discord.gg/dDmyZ9X3

@fsmdeveloper
Copy link

fsmdeveloper commented Feb 27, 2024

movie/watch-avatar-19690
Bro, is there any way to retrieve TMDB ID or IMDb ID using the media ID? "19690"

bro help me how to install the consumet.ts in server I have install npm but I

I cant run consumet.ts bro pleaseee. now I install only pull from docker from api.consumet.org please sahre to me step by step to run consumet.ts contact me on telegram t.me/kimjonghung

ClayArsenio26

You can't run consumet.ts. it's a standalone package. you should install it on you own nodejs project. or use api.consumet.org and deploy it directly on your vps or vercel

https://conmet.vercel.app/ use this

@ClayArsenio26
Copy link

ClayArsenio26 commented Feb 27, 2024

``> > > movie/watch-avatar-19690

Bro, is there any way to retrieve TMDB ID or IMDb ID using the media ID? "19690"

bro help me how to install the consumet.ts in server I have install npm but I

I cant run consumet.ts bro pleaseee. now I install only pull from docker from api.consumet.org please sahre to me step by step to run consumet.ts contact me on telegram t.me/kimjonghung

ClayArsenio26

You can't run consumet.ts. it's a standalone package. you should install it on you own nodejs project. or use api.consumet.org and deploy it directly on your vps or vercel

https://conmet.vercel.app/ use this

now I have deploy into my vps, but still not working. please tell me bro how to work it?
in my file .mjs
import { MOVIES } from "@consumet/extensions";
`const goku = new MOVIES.FlixHQ();`
`const args = process.argv.slice(2);`
const idepisode = args[0];
`const mediainfo = args[1];`
`goku.fetchEpisodeSources(idepisode, mediainfo).then(data => {`
const jsonData = JSON.stringify(data);
console.log(jsonData);
})
``

and in my file .php
<?php
header('Content-Type: application/json; charset=utf-8');
`$query1 = $_GET['idepisode'];` `$query2 = $_GET['mediainfo'];`
$escapedQuery1 = escapeshellarg($query1);
$escapedQuery2 = escapeshellarg($query2);
`$output = shell_exec("/usr/bin/node goku_search.mjs $escapedQuery1 $escapedQuery2");`
echo ($output);
``

`

@fsmdeveloper
Copy link

fsmdeveloper commented Feb 27, 2024

You need to build the consumet.ts (dist)

fork consumet.ts in your github account, then clone it on your desktop, then yarn install then yarn build
"build": "rimraf dist && tsc -p tsconfig.json",

then use this fork version on your nodejs project,

add it in package.json

"dependencies": {
        "@consumet/extensions": "git+https://github.com/fsmdeveloper/consumet.ts.git#master",
}

you can use my fork version in your nodejs project.

then it will work. I've tested it!

@ClayArsenio26
Copy link

image
this is work well, but when I access from direct file php in browser its dont work, when execute on terminal its work well. can you help me bro ?

@fsmdeveloper
Copy link

image this is work well, but when I access from direct file php in browser its dont work, when execute on terminal its work well. can you help me bro ?

I can't help with PHP! I wouldn't say I like this language. Seek help from a PHP expert

@ClayArsenio26
Copy link

**YES BROTHER!!! 😍 It's working properly! thank you so much!! ❤️❤️

can u share how run methods ur code like that from url with parameters??

@fsmdeveloper
Copy link

**YES BROTHER!!! 😍 It's working properly! thank you so much!! ❤️❤️

can u share how run methods ur code like that from url with parameters??

share your Whatsapp number, I'll help you.

@ClayArsenio26
Copy link

ClayArsenio26 commented Feb 28, 2024

**YES BROTHER!!! 😍 It's working properly! thank you so much!! ❤️❤️

can u share how run methods ur code like that from url with parameters??

share your Whatsapp number, I'll help you.

oke bro many big thank this is my whatsapp number wa.me/8846294762

@gabinfinity
Copy link

Is it still working? It doesnt works for me

@fsmdeveloper
Copy link

Other endpoints work well, but the /watch (Streaming links) endpoint is not working again

@fsmdeveloper
Copy link

dhelbegor brother can you check it?? it's the same issue again! 😒

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlixHQ Episode Streaming Links not working
5 participants