Comments (3)
Another website got down : myfreecourses.com
See trace :
root@desktop:/UdemyCourseGrabber# python3 main.py Paste in your Udemy course URL, or the course name: <course (name | url)> The value entered is not a link, taking it as the course name. 91%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▉ | 10/11 [00:04<00:00, 2.21it/s]Traceback (most recent call last): File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 969, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa File "/usr/lib/python3.6/asyncio/base_events.py", line 794, in create_connection raise exceptions[0] File "/usr/lib/python3.6/asyncio/base_events.py", line 781, in create_connection yield from self.sock_connect(sock, address) File "/usr/lib/python3.6/asyncio/selector_events.py", line 439, in sock_connect return (yield from fut) File "/usr/lib/python3.6/asyncio/selector_events.py", line 469, in _sock_connect_cb raise OSError(err, 'Connect call failed %s' % (address,)) ConnectionRefusedError: [Errno 111] Connect call failed ('72.52.178.23', 443) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "main.py", line 94, in <module> interactive() File "main.py", line 65, in interactive course_info = scraper.search_course() File "/UdemyCourseGrabber/scrapers.py", line 73, in search_course results = self.loop.run_until_complete(self.__search_course()) File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete return future.result() File "/UdemyCourseGrabber/scrapers.py", line 84, in __search_course result = await func File "/usr/lib/python3.6/asyncio/tasks.py", line 458, in _wait_for_one return f.result() # May raise f.exception(). File "/UdemyCourseGrabber/scrapers.py", line 226, in __myfreecourses async with session.get(f'https://myfreecourses.com/?s={self.__mod_name}') as response: File "/usr/local/lib/python3.6/dist-packages/aiohttp/client.py", line 1117, in __aenter__ self._resp = await self._coro File "/usr/local/lib/python3.6/dist-packages/aiohttp/client.py", line 521, in _request req, traces=traces, timeout=real_timeout File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 535, in connect proto = await self._create_connection(req, traces, timeout) File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 892, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 1051, in _create_direct_connection raise last_exc File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 1032, in _create_direct_connection client_error=client_error, File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 975, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host myfreecourses.com:443 ssl:default [Connect call failed ('72.52.178.23', 443)]
from udemycoursegrabber.
i fixed my scrapers.py too, however
90%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▏ | 9/10 [00:10<00:01, 1.15s/it] Traceback (most recent call last): File "/home/bendn/UdemyCourseGrabber/main.py", line 94, in <module> interactive() File "/home/bendn/UdemyCourseGrabber/main.py", line 65, in interactive course_info = scraper.search_course() File "/home/bendn/UdemyCourseGrabber/scrapers.py", line 73, in search_course results = self.loop.run_until_complete(self.__search_course()) File "/usr/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete return future.result() File "/home/bendn/UdemyCourseGrabber/scrapers.py", line 84, in __search_course result = await func File "/usr/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one return f.result() # May raise f.exception(). File "/home/bendn/UdemyCourseGrabber/scrapers.py", line 204, in __tutorialsplanet async with session.get(f'https://tutorialsplanet.net/?s={self.__mod_name}') as response: File "/home/bendn/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in __aenter__ self._resp = await self._coro File "/home/bendn/.local/lib/python3.10/site-packages/aiohttp/client.py", line 559, in _request await resp.start(conn) File "/home/bendn/.local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 893, in start with self._timer: File "/home/bendn/.local/lib/python3.10/site-packages/aiohttp/helpers.py", line 721, in __exit__ raise asyncio.TimeoutError from None asyncio.exceptions.TimeoutError
from udemycoursegrabber.
I'm back! In the following days, I'll see if the script needs a rewrite, else I'll just fix all the errors!
from udemycoursegrabber.
Related Issues (13)
- This bad boy is missing a README.md file HOT 2
- Load a list of couress in a text file? HOT 15
- handle for download_link being NoneType HOT 1
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Unable To Run this On Ubuntu HOT 10
- What is causing this problem? HOT 1
- Issue when searching with URL or course name HOT 1
- Working websites HOT 1
- Crash when a link is not clickable HOT 1
- Browsing context has been discarded HOT 6
- Suggestion: TQDM Progress-bars w/ Detailed Search Log HOT 3
- Error involving Geckodriver? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from udemycoursegrabber.