Giter VIP home page Giter VIP logo

xiaominoteexporter's People

Contributors

jayparkongithub avatar

Stargazers

千橙 avatar Julien Devlin avatar

Watchers

 avatar

xiaominoteexporter's Issues

2. Scroll and select sidebar

continue with part 1 but scroll each time you go to the next sidebar item

  1. select sidebar element
  2. find scrollHeight of each element
  3. scroll sidebar element (# of elements you want to move by) * (scroll height of 1 element)
  4. select top one and do the stuff (click, select save, same as part 1) to save info to array
  5. if selected one after scrolling is the same as the prev (by checking time and title), skip and go to second element without scrolling
  6. the # of elements in your finished array should be the same as the # of notes

image

1. Get all notes on the current page

Only get the results that are shown in the page

  • figure out how to get the 8(or so) note elements on the note list sidebar
  • figure out how to select the date on each sidebar note element
  • figure out how to convert date string in sidebar note element to epoch timestamp
  • figure out how to click each sidebar note element to trigger changing of the main note page/element
  • figure out how to select the title on main note element
  • figure out how to select the body on main note element
  • append timestamp, title and body into an array

Result should be saved in a variable that looks like

[
{
'timestamp': 1651366295814,
'title': 'this is a title that can also be blank',
'body': '<p>http://m.yes24.com/Goods/Detail/91231989</p><p><br></p><p>Green course</p><p><br></p><p>http://m.yes24.com/Goods/Detail/66924896</p>'
},
{
'timestamp': 1651366295815,
'title': 'this is another title',
'body': '<p>this is a body</b>'
},
]

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.