You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this behavior is "as expected", but I agree, it's not optimal.
The problem it addresses is that some sites prepend the website name to the title (or postpend)
In your case, for instance, the <title> tag for the jamaican stock exchange is:
<title>TransJamaican Highway Limited (TJH)- Trade Disclosure - Jamaica Stock Exchange</title>
you can see the Site name at the end, delimited with -
Having said this, I agree that this can be improved and I will have a look at some possible options
One would be to priorize the og:title tag, that shuld be, in my oppinion more accurate.
But I will need to test on a set of websites to see if this does not break some other behavior.
Describe the bug
I'm seeing instances where if - is in the title of the article:
To Reproduce
Steps to reproduce the behavior, please post any code you used and the website you tried to parse/process:
Expected behavior
Expected the full title of the article.
Screenshots
example for point 1:![image](https://private-user-images.githubusercontent.com/28059522/320166228-3e37aff2-51de-4922-8db9-d82965b0fb40.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTc0MjgsIm5iZiI6MTczOTU1NzEyOCwicGF0aCI6Ii8yODA1OTUyMi8zMjAxNjYyMjgtM2UzN2FmZjItNTFkZS00OTIyLThkYjktZDgyOTY1YjBmYjQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4MTg0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyNTNmOThlMjBiMGMzNGNmMmJlMzQ0OTA4MDYzMWRhZGU1Y2JjYjJjNjBkNTM2NzM1OWY5NDBlYjQ4N2IxMjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YKsQgy3NBOsPZevvB5XFPQkTXzzsTgTethjOO2Xekmc)
url: https://www.jamstockex.com/transjamaican-highway-limited-tjh-trade-disclosure-3/
screenshot:
example for point 2:![image](https://private-user-images.githubusercontent.com/28059522/320166058-cce83cc4-1267-4144-bcff-9e6537021a26.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTc0MjgsIm5iZiI6MTczOTU1NzEyOCwicGF0aCI6Ii8yODA1OTUyMi8zMjAxNjYwNTgtY2NlODNjYzQtMTI2Ny00MTQ0LWJjZmYtOWU2NTM3MDIxYTI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4MTg0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgwMjJlODU5NzAxNDMzM2E1NDczZjg4OTk5NTViNjE3N2JjY2NlZmJhZmNiNTk0MmU5YjExOGU0YTNjN2U3ZjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fOzDRblqwseuy2t1TcHhXE7UQkwB5ADRTyXAOvn7mBE)
url: https://www.treblezine.com/plus-minus-announce-first-new-album-in-a-decade-further-afield/
screenshot:
Extra example:![image](https://private-user-images.githubusercontent.com/28059522/320166308-14f4cb8f-1078-496b-a753-8443595c1cbf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTc0MjgsIm5iZiI6MTczOTU1NzEyOCwicGF0aCI6Ii8yODA1OTUyMi8zMjAxNjYzMDgtMTRmNGNiOGYtMTA3OC00OTZiLWE3NTMtODQ0MzU5NWMxY2JmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4MTg0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEzNTM0MzhiNTcwNmEyNDQwODJiYWFiNDQ0YjI4NDk3MzYxOTE1NjBmNzExZmEyOGM0ZDY3ZTJjYTk5N2VkNGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.p__oFgBd0LmHXt5GH-MUUSrTKO1Bdjhb1j-KhWFQl1A)
url: https://www.post-gazette.com/business/healthcare-business/2024/02/28/university-of-pittsburgh-drug-development-lansing-taylor-animal-testing/stories/202402280069
screenshot:
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: