Skip to content

Commit

Permalink
Update XPath constants (#32)
Browse files Browse the repository at this point in the history
Descriptions' and More Options' Full XPaths were rendered incorrect upon website modifications.  XPaths are updated and increased opplast version number by 1.
  • Loading branch information
Powaful3000 authored Jun 16, 2022
1 parent c1f81b3 commit f910f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opplast/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__name__ = "opplast"
__version__ = "1.0.13"
__version__ = "1.0.14"

from .exceptions import *
from .constants import *
Expand Down
4 changes: 2 additions & 2 deletions opplast/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
ERROR_CONTAINER = '//*[@id="error-message"]'
STATUS_CONTAINER = "/html/body/ytcp-uploads-dialog/tp-yt-paper-dialog/div/ytcp-animatable[2]/div/div[1]/ytcp-video-upload-progress/span"
VIDEO_URL_CONTAINER = "//span[@class='video-url-fadeable style-scope ytcp-video-info']"
DESCRIPTION_CONTAINER = "/html/body/ytcp-uploads-dialog/tp-yt-paper-dialog/div/ytcp-animatable[1]/ytcp-video-metadata-editor/div/ytcp-video-metadata-editor-basics/div[2]/ytcp-social-suggestions-textbox/ytcp-form-input-container/div[1]/div[2]/div[1]/ytcp-mention-input"
MORE_OPTIONS_CONTAINER = "/html/body/ytcp-uploads-dialog/tp-yt-paper-dialog/div/ytcp-animatable[1]/ytcp-video-metadata-editor/div/div/ytcp-button"
DESCRIPTION_CONTAINER = "/html/body/ytcp-uploads-dialog/tp-yt-paper-dialog/div/ytcp-animatable[1]/ytcp-ve/ytcp-video-metadata-editor/div/ytcp-video-metadata-editor-basics/div[2]/ytcp-social-suggestions-textbox/ytcp-form-input-container/div[1]/div[2]/div/ytcp-social-suggestion-input"
MORE_OPTIONS_CONTAINER = "/html/body/ytcp-uploads-dialog/tp-yt-paper-dialog/div/ytcp-animatable[1]/ytcp-ve/ytcp-video-metadata-editor/div/div/ytcp-button/div"

# COUNTERS
TAGS_COUNTER = 500
Expand Down

0 comments on commit f910f24

Please sign in to comment.