hacettepeoyt / hu-announcement-bot

Get the latest from Hacettepe with this amazing Telegram Bot!
https://t.me/HacettepeDuyurucuBot
GNU General Public License v3.0
8 stars 6 forks source link

Some URLs are not embedded in "Details are here!" text #15

Closed furkansimsekli closed 2 years ago

furkansimsekli commented 2 years ago

Latest example came from Foreign Languages School, the URL is "_http://www.ydyo.hacettepe.edu.tr//tr/<imgsrc=fshacettepeedutrydyor-1034"

I don't know why but there is a html tag here. It's totally unnecessary, because "http://www.ydyo.hacettepe.edu.tr//tr/-1034" leads to same page.

As you can see, the first one hasn't been rendered in GitHub too. It's an invalid URL.

This URL isn't produced because of my code, we can manually check the websites and see the href=""

melikechan commented 2 years ago

My opinion is, it is an issue belongs to the some departments those use StandartDepartment class. I suppose that it can be solved by replacing the broken suffix with the extracted valid one.