Code Monkey home page Code Monkey logo

Comments (3)

yanisallouch avatar yanisallouch commented on May 28, 2024

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.

bend-n avatar bend-n commented on May 28, 2024

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.

keethesh avatar keethesh commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.