• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: July 14th, 2023

help-circle




  • I build a lot of tools like that and the first thing I do is to go to the developer tool in my browser and observe the network traffic. When you find the resource you’re after you scroll back and see what requests resulted in that URL. Going from those requests you figure out in the original static HTML document and resource, which parameters are used for the construction of the URL, that might require reversing some javascript, but that’s rare. After that you’ll have a pretty good idea how you obtain the video resource from the original URL. Beware of cookie set by the requests, they might be needed to access the next requests. For building my tools I use Perl or sometimes just Bash or a GreaseMonkey userscript to fetch and parse the urls and construct the desired output.






  • smpl@discuss.tchncs.detoProgrammer Humor@programming.devPlEaSe CeNtEr ThAt DiV
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    11 months ago

    In the context of the modern web, I take that as a badge of honor. I’ve build pages using flexbox/grid and I’ve done so only for the sake of responsive layout, because of the way that tables can’t degrade to a bunch of boxes, but a bunch of boxes can by styled to look like a table. It is a convoluted way of doing table layout instead of just using a table.


  • smpl@discuss.tchncs.detoProgrammer Humor@programming.devPlEaSe CeNtEr ThAt DiV
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    11 months ago

    What do you mean? I still write my sites in HTML 4.1 and frameset works fine in all the browsers I’ve tried. HTML 4.1 is still a standard, I can only recommend more people use it. HTML5 isn’t really a standard… it’s a “living document”… pff.

    ``

    You’re allowed to <center> things and use `` without shame… or if you really do prefer it, you can still wrap that relative positioned <div> with auto margins in an absolute positioned parent <div> or whatever CSS bullshit makes stuff centered nowadays.

    One thing I always though was very backwards in CSS is the paradigme to make <div> into tables instead of the other way. Tables are an easy and simple way to layout things and if it could degrade into divs you’d have your responsive design making many related CSS standards unnecessary.</div></div></div><table></table></center>