Comments (3)
Hi @Dither, I agree about :contains and would love to see your improvements.
Would you mind forking the repo, updating and sending me a pull request? That would definitely make it easier to see the changes you've made and incorporate them while keeping your ownership in them.
from cssify.
I am not proficient in python as in javascript so if you can't apply ideas from my javascript port (see the link in the first message) then I can't do much. >_>
The main ideas that applicable here are:
- splitting XPath for parts divided by
|
tag/following-sibling
in the main navigation block ->+
tag[1]
- >:first-of-type
tag[last()]
->:last-of-type
PS: I don't mind if you not mention my contribution because I believe that "copyrighting" small chunks of code is out of place practice.
from cssify.
oops, sorry. Didn't notice you actually made a full javascript port. Good job!
I'll check it out and see the important changes I can pull to the python version.
from cssify.
Related Issues (11)
- Problem with "nth" selector HOT 2
- custom html elements with "-" dash, not translated properly
- translation inconsistency: no quote in attribute selector HOT 1
- Support for custom html tags HOT 1
- CORS policy: No 'Access-Control-Allow-Origin'
- doesn't support xpath property which elements not contains attribute
- The website is not working. HOT 3
- Support index more than 9 HOT 2
- License HOT 1
- Online converter seems broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cssify.