makisukurisu / rozklad-ontu-parser

Parser for data from rozklad.ontu
https://rozklad.ontu.edu.ua/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

[FR]: Fix representation of objects from BaseTag #4

Closed makisukurisu closed 1 year ago

makisukurisu commented 1 year ago

Is your feature request related to a problem? Please describe. Currently printing out an object of BaseTag class will spit the whole bs4 tag for this object (which is a lot of HTML as text)

Describe the solution you'd like Perhaps - find a solution to hide this information (like printing just the info of this tag, like name, attrs and type)

Describe alternatives you've considered None :) I myself made this a thing

Additional context MarshalX had some code to hide certain attrs, afaik, so, perhaps you could extend that.

I'd be ok with just not showing the tag at all too.