You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 17, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+52-9Lines changed: 52 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,12 +62,54 @@ cd y2mate-api
62
62
pip install .
63
63
```
64
64
65
-
For Windows users you can as well download the executables from [here](https://github.com/Simatwa/y2mate-api/releases/download/v1.0.2/main.exe)
66
-
67
65
# Usage
68
66
69
67
`$ y2mate -f <mp3/mp4> <youtube-link or video id or keyword>`
70
68
69
+
Following the introduction of Cloudflare protection on the host, y2mate.com, you have to authenticate you're a human right from your **Chrome Browser** and then proceed to extract `cf_clearance` cookie value, which will in turn be passed over to the script.
70
+
71
+
### `cf_clearance` extraction process.
72
+
73
+
i. Install **Http Tracker** Chrome extension using [this link](https://chromewebstore.google.com/detail/http-tracker/fklakbbaaknbgcedidhblbnhclijnhbi).
74
+
i. Using **Chrome Browswer**, navigate to y2mate.com and pass the bot verification stage.
75
+
ii. Start the *Http Tracker* extension.
76
+
iii. On the search section of y2mate.com, key-in anything and press <kbd>enter</kbd>
77
+
iv. Return to the Http Tracker window and look for any of the recent urls containing `*y2mate.com*` and click it.
78
+
v. Navigate down to the coookies section and copy the value of key `cf_clearance`. In the proceeding guides I will be referring to this value as **CF-CLEARANCE**
0 commit comments