|
12 | 12 | "name": "stdout",
|
13 | 13 | "output_type": "stream",
|
14 | 14 | "text": [
|
15 |
| - "installing requests\n", |
16 |
| - "installing bs4\n", |
17 |
| - "installing html5lib\n", |
18 |
| - "installing colorama\n", |
19 |
| - "installing tqdm\n", |
20 |
| - "installing git+https://github.com/VeNoMouS/cloudscraper@dev\n", |
| 15 | + "installing 0/5\n", |
| 16 | + "installing 1/5\n", |
| 17 | + "installing 2/5\n", |
| 18 | + "installing 3/5\n", |
| 19 | + "installing 4/5\n", |
| 20 | + "installing 5/5\n", |
21 | 21 | "\u001b[34mTrying to login\n",
|
22 |
| - "Cloudflare is blocking your requests try again after an hour\n", |
23 |
| - "\u001b[31mLogin Error\"name='client_id', domain=None, path=None\"\n" |
| 22 | + "Too many logins per hour try later\n" |
24 | 23 | ]
|
25 | 24 | },
|
26 | 25 | {
|
27 | 26 | "name": "stderr",
|
28 | 27 | "output_type": "stream",
|
29 | 28 | "text": [
|
30 | 29 | "'kill' is not recognized as an internal or external command,\n",
|
31 |
| - "operable program or batch file.\n", |
32 |
| - "E-next: 100%|██████████| 10/10 [00:00<?, ?it/s]\n", |
33 |
| - "IDownloadCoupons: 100%|██████████| 26/26 [00:00<00:00, 26533.31it/s]\n", |
34 |
| - "Course Vania: 53%|█████▎ | 16/30 [00:08<00:08, 1.64it/s]Exception in thread Thread-12:\n", |
35 |
| - "AttributeError: 'NoneType' object has no attribute 'a'\n", |
36 |
| - "Course Vania: 53%|█████▎ | 16/30 [00:09<00:07, 1.77it/s]\n", |
37 |
| - "Discudemy: 100%|██████████| 48/48 [00:27<00:00, 1.76it/s]\n", |
38 |
| - "Real Discount: 100%|██████████| 36/36 [00:38<00:00, 1.08s/it]\n", |
39 |
| - "Tutorial Bar: 100%|██████████| 36/36 [00:42<00:00, 1.18s/it]\n", |
40 |
| - "Udemy Freebies: 100%|██████████| 24/24 [00:57<00:00, 2.40s/it]\n" |
| 30 | + "operable program or batch file.\n" |
41 | 31 | ]
|
42 | 32 | },
|
43 | 33 | {
|
44 | 34 | "name": "stdout",
|
45 | 35 | "output_type": "stream",
|
46 | 36 | "text": [
|
47 |
| - "\u001b[33m0 Spatial Analysis & Geospatial Data Science in Python \u001b[34mhttps://www.udemy.com/course/spatial-data-science-in-python/?couponCode=SEP_FIRST\n", |
| 37 | + "Too many logins per hour try later\n" |
| 38 | + ] |
| 39 | + }, |
| 40 | + { |
| 41 | + "name": "stderr", |
| 42 | + "output_type": "stream", |
| 43 | + "text": [ |
| 44 | + "'kill' is not recognized as an internal or external command,\n", |
| 45 | + "operable program or batch file.\n" |
| 46 | + ] |
| 47 | + }, |
| 48 | + { |
| 49 | + "name": "stdout", |
| 50 | + "output_type": "stream", |
| 51 | + "text": [ |
| 52 | + "Too many logins per hour try later\n" |
| 53 | + ] |
| 54 | + }, |
| 55 | + { |
| 56 | + "name": "stderr", |
| 57 | + "output_type": "stream", |
| 58 | + "text": [ |
| 59 | + "'kill' is not recognized as an internal or external command,\n", |
| 60 | + "operable program or batch file.\n" |
| 61 | + ] |
| 62 | + }, |
| 63 | + { |
| 64 | + "name": "stdout", |
| 65 | + "output_type": "stream", |
| 66 | + "text": [ |
| 67 | + "\u001b[31mLogin Error\n", |
| 68 | + "Traceback (most recent call last):\n", |
| 69 | + " File \"C:\\Users\\techt\\AppData\\Local\\Temp\\ipykernel_7432\\2229461906.py\", line 577, in <module>\n", |
| 70 | + " head, user, currency, s= check_login()\n", |
| 71 | + " File \"C:\\Users\\techt\\AppData\\Local\\Temp\\ipykernel_7432\\2229461906.py\", line 386, in check_login\n", |
| 72 | + " cookies = cookiejar(r.cookies[\"client_id\"], r.cookies[\"access_token\"], csrf_token)\n", |
| 73 | + " File \"C:\\Users\\techt\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\cookies.py\", line 328, in __getitem__\n", |
| 74 | + " return self._find_no_duplicates(name)\n", |
| 75 | + " File \"C:\\Users\\techt\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\requests\\cookies.py\", line 399, in _find_no_duplicates\n", |
| 76 | + " raise KeyError('name=%r, domain=%r, path=%r' % (name, domain, path))\n", |
| 77 | + "KeyError: \"name='client_id', domain=None, path=None\"\n", |
| 78 | + "\n" |
| 79 | + ] |
| 80 | + }, |
| 81 | + { |
| 82 | + "name": "stderr", |
| 83 | + "output_type": "stream", |
| 84 | + "text": [ |
| 85 | + "E-next: 100%|██████████| 19/19 [00:00<00:00, 37930.40it/s]\n", |
| 86 | + "Discudemy: 0%| | 0/48 [00:00<?, ?it/s]it/s]Exception in thread Thread-12 (discudemy):\n", |
| 87 | + "Traceback (most recent call last):\n", |
| 88 | + " File \"C:\\Users\\techt\\AppData\\Local\\Programs\\Python\\Python310\\lib\\threading.py\", line 1009, in _bootstrap_inner\n", |
| 89 | + " self.run()\n", |
| 90 | + " File \"C:\\Users\\techt\\AppData\\Local\\Programs\\Python\\Python310\\lib\\threading.py\", line 946, in run\n", |
| 91 | + " self._target(*self._args, **self._kwargs)\n", |
| 92 | + " File \"C:\\Users\\techt\\AppData\\Local\\Temp\\ipykernel_7432\\2229461906.py\", line 87, in discudemy\n", |
| 93 | + " File \"C:\\Users\\techt\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\bs4\\element.py\", line 1486, in __getitem__\n", |
| 94 | + " return self.attrs[key]\n", |
| 95 | + "KeyError: 'href'\n", |
| 96 | + "Discudemy: 2%|▏ | 1/48 [00:00<00:00, 380.44it/s]\n", |
| 97 | + "IDownloadCoupons: 100%|██████████| 45/45 [00:00<?, ?it/s]/s]t]\n", |
| 98 | + "Course Vania: 100%|██████████| 30/30 [00:24<00:00, 1.24it/s]]]\n", |
| 99 | + "Tutorial Bar: 100%|██████████| 36/36 [00:46<00:00, 1.28s/it]t]\n", |
| 100 | + "Udemy Freebies: 100%|██████████| 24/24 [00:49<00:00, 2.06s/it]\n", |
| 101 | + "Real Discount: 100%|██████████| 24/24 [01:02<00:00, 2.59s/it]\n" |
| 102 | + ] |
| 103 | + }, |
| 104 | + { |
| 105 | + "name": "stdout", |
| 106 | + "output_type": "stream", |
| 107 | + "text": [ |
| 108 | + "\u001b[33m0 The Complete Intro to Machine Learning [Get Free Coupons] \u001b[34mhttps://www.udemy.com/course/the-complete-intro-to-machine-learning-with-python/?couponCode=330FA58ECD46FA65837E\n", |
| 109 | + "Traceback (most recent call last):\n", |
| 110 | + " File \"C:\\Users\\techt\\AppData\\Local\\Temp\\ipykernel_7432\\2229461906.py\", line 567, in main1\n", |
| 111 | + " auto(remove_duplicates(links_ls))\n", |
| 112 | + " File \"C:\\Users\\techt\\AppData\\Local\\Temp\\ipykernel_7432\\2229461906.py\", line 466, in auto\n", |
| 113 | + " purchased, amount = course_landing_api(course_id)\n", |
| 114 | + " File \"C:\\Users\\techt\\AppData\\Local\\Temp\\ipykernel_7432\\2229461906.py\", line 309, in course_landing_api\n", |
| 115 | + " r = s.get(\n", |
48 | 116 | "NameError: name 's' is not defined\n",
|
49 | 117 | "\n"
|
50 | 118 | ]
|
|
675 | 743 | "name": "python",
|
676 | 744 | "nbconvert_exporter": "python",
|
677 | 745 | "pygments_lexer": "ipython3",
|
678 |
| - "version": "3.9.6" |
| 746 | + "version": "3.10.0" |
679 | 747 | },
|
680 | 748 | "metadata": {
|
681 | 749 | "interpreter": {
|
|
0 commit comments