SilentDemonSD / WZML-X

A Super Enhanced Telegram bot which can download torrents, mega, google drive links, telegram file, direct links and all yt-dlp sites, upload to google drive, telegram cloud, rclone clouds or ddl servers. Made with Pyrogram in Python by WZML-X Devs.
http://wzmlx.mysterysd.in
GNU General Public License v3.0
862 stars 1.8k forks source link

/scrape option is creating issue on webseries or more links if listed #17

Closed satyamisme closed 2 years ago

satyamisme commented 2 years ago

Describe the bug The bot failed to load on /scrape option

list of links are displayed some times and failed most of the time when processed webseries ex -

https://htpmovies.lol/hostages-2019-web-series-download-in-telugu-tamil-hindi-malayalam-kannada-hd-s01-s02-all-episodes-480p-720p-1080p/

To Reproduce Steps to reproduce the behavior:

  1. Go to '/scrape link '

  2. See error

Expected behavior expected output result of links

Screenshots Running scrape. Wait about some secs.

Additional context

error in log

2022-10-29 10:12:35,015 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception. Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/telegram/ext/utils/promise.py", line 96, in run self._result = self.pooled_function(*self.args, **self.kwargs) File "/usr/src/app/bot/modules/scraper.py", line 73, in scrapper prsd += htpmovies(url) + '\n\n' File "/usr/src/app/bot/modules/scraper.py", line 143, in htpmovies title = soup.title.get_text() AttributeError: 'NoneType' object has no attribute 'get_text'

Option request

please add option to display progress of links processing

SilentDemonSD commented 2 years ago

Working On...

weebzone commented 2 years ago

fixed now