Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get parent info from parent.php page #51

Open
dkultasev opened this issue Apr 18, 2020 · 2 comments · May be fixed by #52
Open

Get parent info from parent.php page #51

dkultasev opened this issue Apr 18, 2020 · 2 comments · May be fixed by #52
Assignees

Comments

@dkultasev
Copy link
Owner

dkultasev commented Apr 18, 2020

There is optional parent information on https://smarsy.ua/parent.php website that should be scrapped. If you didn't enter your info yet, then you need to create functionality to handle that as well. (DO NOT ENTER INFO, if it is not entered yet as you can't remove it afterwards).
This is HTML code block that is there when something is entered:


<TD valign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 align="left">
<TR>
<TD valign=top align="left" width="120"><img src="https://smarsy.ua/images/mypage/parent_1.png"></TD>
<TD valign=top align="left">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 align="left">
<TR height=5px></TR>
<TR><TD colspan=2 class="username"><b>Инокентий Петрушкин Акардеонович (Папа)</b></TD></TR>
<TR height=5px></TR>
<TR>
<TD class="userhead" width=155>День рождения:</TD>
<TD class="userdata">30 апреля 2003 г.</TD>
</TR>
<TR height=5px></TR>
<TR>
<TD colspan=2><a href="https://smarsy.ua/parent.php?jsid=AddInfoForm" id="windowAddInfo" title='Добавить/изменить данные о себе' style="FONT-FAMILY: Arial, San-Serif; FONT-SIZE: 13px;">Добавить/изменить данные о себе</a></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>

New function should return:
order -- from parent_1.png (1 in that case)
name
surname
middlename
type ('мама\папа...')
birth_date

@MaxxxZu
Copy link
Collaborator

MaxxxZu commented Apr 18, 2020

New function should return:
order -- from parent_1.png (1 in that case)
name
surname
middlename
type ('мама\папа...')
birth_date

Should order always be like this?

@dkultasev
Copy link
Owner Author

New function should return:
order -- from parent_1.png (1 in that case)
name
surname
middlename
type ('мама\папа...')
birth_date

Should order always be like this?

no, order of the attributes should never be important

@dkultasev dkultasev linked a pull request Apr 21, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants