GithubHelp home page GithubHelp logo

1danish-00 / htmlwebshot Goto Github PK

View Code? Open in Web Editor NEW
24.0 1.0 4.0 40 KB

A python3 package which Can Create Images From url, Html-CSS, Svg and from any readable file and texts with many setup features.

Home Page: https://pypi.org/project/htmlwebshot

License: GNU General Public License v3.0

CSS 2.85% HTML 13.18% Python 82.03% Shell 1.94%
html-to-image file-to-image webshot screenshot html-css-image

htmlwebshot's Introduction

Hey, Myself Danish. ๐Ÿ˜‰

Danish

Job : ๐Ÿ‘จโ€๐ŸŽ“ Student.
I'm working on some hobby projects and learning new stuffs!


๐Ÿ“ž Contact Me


โšก๏ธ About Me

  • ๐Ÿ”ญ Iโ€™m currently working on Telegram, Discord, Whatsapp, Twitter Bots & Apis.
  • ๐Ÿง Currently Learning JS & JAVA.
  • ๐Ÿ‘จโ€๐Ÿ’ป Mostly Projects Are Private ๐Ÿ˜….
  • ๐Ÿ’ฌ Generally Available on Telegram.
  • ๐Ÿค“ Ready To Help Others.

Languages / Frameworks/ Tools


๐Ÿ–ฅ Familiar OS


๐Ÿ”ง IDE / โ˜๏ธ Clouds


๐Ÿ“ˆ My Github Stats!

โ˜•๏ธ Tea, Coffee, Dinner?

Buy Me A Coffee

htmlwebshot's People

Contributors

1danish-00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

htmlwebshot's Issues

[BUG REPORT]: CSS Variable not working

Your System?

MacOS 12.6.1

Python Version

3.9

HtmlWebShot Version

latest

What happened?

Well, I am trying to use variables in my css file like in this example. Unfortunately it is not getting applied. When I use it without variable then it's working for sure.

Used Code.

:root {
  --chf-red: #BF1803;
}

.table-header {
  color: var(--chf-red);

Error Logs.

No response

[BUG REPORT]:

Your System?

Ubuntu

Python Version

3.8

HtmlWebShot Version

latest

What happened?

Delay not working at all

Used Code.

//tried this
shot.params = {"--javascript-delay": 5000}
//and this
shot.create_pic(html="file.html", delay=5, output="out.jpg", size=(1024,512))
//none worked?

Error Logs.

No response

[BUG REPORT]: Query String on Local File Not Working

Your System?

Windows 10

Version

3.8

Version

latest

What happened?

When I try to take a screenshot of a local file whilst providing a URL query string, it does not work. My assumption is that it tried to look for a file which contains the query string in the filename.

Paste Your Codes.

shot.create_pic(html=r"folder\file.html?username=hi", css=r"folder\tweet.css", output="output.jpg")

Your Error Logs.

It does not output an error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.