SafwanLjd / EgyBestCLI

A Command-Line Interface Wrapper For EgyBest; This Project Has Been Moved to GitLab
https://gitlab.com/SafwanLjd/EgyBestCLI
GNU General Public License v3.0
8 stars 3 forks source link

no result found #1

Closed melbasuonyy closed 2 years ago

melbasuonyy commented 2 years ago

Hi I'm getting the below error Screenshot 2022-01-13 220445

SafwanLjd commented 2 years ago

This is an EgyBest issue, it sometimes breaks… you can confirm this by searching something manually on EgyBest, you'll get no results there as well

melbasuonyy commented 2 years ago

can you tell which url is used egy.best is blocked by ISP - but egybest.org is ok

melbasuonyy commented 2 years ago

Screenshot 2022-01-13 222614 Movie is available in egybest search

SafwanLjd commented 2 years ago

I will investigate the issue

SafwanLjd commented 2 years ago

I have just investigated the issue and couldn't reproduce the problem ss-1642101598

Then I read this:

can you tell which url is used egy.best is blocked by ISP - but egybest.org is ok

you see, egy.best is not actually the EgyBest website, it's just a site that takes you to one of the many EgyBest websites (e.g. egybest.org, xena.egybest.ninja, etc.), the actual EgyBest sites go up and down all the time, so they're not reliable, but egy.best is, because it always takes you to a website that is up; and that's what the script uses.

I see from your screenshot that you're probably using the egybest-cli.exe from the releases page, if you instead use the python script, you can change the line that says:

eb = EgyBest()

to

eb = EgyBest("https://egybest.org")

and it will work for you, you can then compile this script yourself using PyInstaller to get the .exe version if you still want that.

There is another solution to your problem (it will only work if your ISP is blocking websites via DNS, odds are they probably do), which is using a custom DNS in your network settings, you can lookup "How to change the custom DNS in Windows", and then change it to something like 1.1.1.1 (Cloudflare) or 9.9.9.9 (Quad9).

The latter solution would unblock all the sites blocked by your ISP, which is a better solution if you ask me :)

SafwanLjd commented 2 years ago

@melbasuonyy

Alright, I made a proper solution to your problem, download the latest version and edit the C:\Users\mohde\.config\egybest\egybest-conf.json file in your computer, and add the mirror you want, similar to this:

{
    "mirror": "https://egybest.org",

    "quality": {
        "2160": 1,
        "1080": 2,
        "720":  3,
        "480":  4,
        "360":  5,
        "240":  6
    }
}

Enjoy!