fix 'series' error
This commit is contained in:
@@ -128,6 +128,7 @@ def main(number):
|
|||||||
'actor_photo':'',
|
'actor_photo':'',
|
||||||
'website': 'https://fc2club.com//html/FC2-' + number + '.html',
|
'website': 'https://fc2club.com//html/FC2-' + number + '.html',
|
||||||
'source':'https://fc2club.com//html/FC2-' + number + '.html',
|
'source':'https://fc2club.com//html/FC2-' + number + '.html',
|
||||||
|
'series': '',
|
||||||
}
|
}
|
||||||
if dic['title'] == '':
|
if dic['title'] == '':
|
||||||
htmlcode2 = ADC_function.get_html('https://adult.contents.fc2.com/article/' + number + '/',cookies={'wei6H':'1'})
|
htmlcode2 = ADC_function.get_html('https://adult.contents.fc2.com/article/' + number + '/',cookies={'wei6H':'1'})
|
||||||
@@ -151,6 +152,7 @@ def main(number):
|
|||||||
'actor_photo': '',
|
'actor_photo': '',
|
||||||
'website': 'http://adult.contents.fc2.com/article/' + number + '/',
|
'website': 'http://adult.contents.fc2.com/article/' + number + '/',
|
||||||
'source': 'http://adult.contents.fc2.com/article/' + number + '/',
|
'source': 'http://adult.contents.fc2.com/article/' + number + '/',
|
||||||
|
'series': '',
|
||||||
}
|
}
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# (TODO) better handle this
|
# (TODO) better handle this
|
||||||
@@ -160,4 +162,4 @@ def main(number):
|
|||||||
return js
|
return js
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print(main('1252953'))
|
print(main('1252953'))
|
||||||
|
|||||||
Reference in New Issue
Block a user